How can I execute a second cloud function when the first has finished?
I'd like to call a new cloud function, not a normal js function, in order to reduce each function execution time. Also I need a serial execution, not parallell (the second function queries data updated by the first)
To solve your issue, you need an orchestrator. Run a pipeline, call your first functions, then call the second functions (then whatever!!)
My preferred is https://cloud.google.com/workflows/docs/overview : serverless, cheap, perfect for working with Cloud Functions
Or you can use the heavy and expensive Cloud Composer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.