4 ms·
I have yet to gain positive experience with Cloud Run. I have one project with it, and Cloud Run is very unpredictable with autoscaling. Sometimes, it can start
by dig1 3y ago
I have yet to gain positive experience with Cloud Run. I have one project with it, and Cloud Run is very unpredictable with autoscaling. Sometimes, it can start spinning up/down containers without any apparent reason, and after hunting Google support for months, they said it is an "expected behavior". Good luck trying to debug this independently because you don't have access to knative logs.
Starting containers on Cloud Run is weirdly slow, and oh boy, how expensive that thing is. I'm getting the impression that pure VMs + Nomad would be a way better option.
- parhamn 3y ago> Starting containers on Cloud Run is weirdly slow What is this about? I assumed a highly throttled cpu or terrible disk performance. A python process that would start in 4 seconds locally could easily take 30 seconds there.
- JoshTriplett 3y agoLast I checked, Cloud Run isn't actually running real Linux, it's emulating Linux syscalls.
- seabrookmx 3y agoCloud Run "gen2" runs a microvm (ala lambda) rather than gvisor, so it depends on your settings.
- JoshTriplett 3y agoAh, good to know, thank you! I hadn't seen the announcement of the second generation environment.
- sofixa 3y ago> I'm getting the impression that pure VMs + Nomad would be a way better option As a long time Nomad fan (disclaimer: now I work at HashiCorp), I would certainly agree. You lose some on the maintenance side because there's stuff for you to deal with that Google could abstract for you, but the added flexibility is probably worth it.
- jonatron 3y agoI just use AWS EC2, load balancer, auto scaling groups. The user_data pulls and runs a docker image. To deploy I do an instance refresh which has no downtime. Obvious downside is more configuration than more managed services.