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.
User | Count |
---|---|
5 | |
4 | |
2 | |
1 | |
1 |