Hacker News new | ask | show | jobs
by fibonacc 1372 days ago
I want to like Google Cloud but so many horror stories I've read from people having their production environment shut down and locked out of their accounts because the over zealous fraud detection found an issue or non-chalant account managers.

Not sure why you would need 60 minutes for HTTP invoked functions, that alone should be a signal to offload it to another queue or asynchronous process.

2 comments

People hear horror stories about Paypal, but it is still massive. I stopped living in fear of everything and decided to adopt stuff that does the job. HN loves to be an echo chamber, especially hating on things. If you only listen to the loud voices, you will end up missing out on things that are actually quite good.

I've used GCP / AppEngine for about a decade now. Built one biz that did $80m gross in its first year. Never even a small threat of being shut down. Recently had a billing issue with GCP and after explaining the problem, they credited me far more than I was even asking for.

I currently have 20k+ servers hitting Cloud Functions (golang) and Cloud SQL 24/7, which is a constant 50 requests/sec... costing me about $100 a month total. It was easy to set up, documentation is well written with clear examples, deployments are all through CI on Github. It just works.

Sorry, but I'm a fan.

To answer your question... https://cloud.google.com/tasks/docs/creating-http-target-tas...

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

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.