Data ingestion and transformation and storage

I want to execute a cloud function (say transformation) which gets triggered on gcp file upload/create. It does some transformation and stores in another bucket. Now if multiple files get uploaded, how to ensure that the cloud function run sequentially i.e if a cloud function is already running and a new file gets uploaded, it doesn't start a new function until the previous cloud function has completed its job.

0 0 99
0 REPLIES 0