Hacker News new | ask | show | jobs
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

1 comments

Hey have you heard about https://cloud.google.com/run/docs/create-jobs?

Disclaimer I work for Google on Cloud Run.

I always find it interesting that GCP employees respond to these sorts of threads with generally helpful comments, but AWS employees rarely respond at all.

Yet at the same time, HN loves to hate on GCP. Keep up the good work @yegle.