|
|
|
|
|
by amichal
1374 days ago
|
|
We have a small ETL process (no other ETL in the apps stack so adding something else was silly) that runs on cloud run. It gets a http request to start, puts a lock,status record in the database, forks a worker and returns the id to the http client. The work runs for 10-30 minutes to finish the work and exits and then cloud run shuts us down till the next request. Like I said we did it this way to avoid adding a proper queue and worker pool to this app so not recommended for heavy traffic but it works |
|
Disclaimer I work for Google on Cloud Run.