Earlier quoted context omitted.
It seems they want to replace their managed AppEngine service through Cloud Run in the long run.
Cloud run is developed by the same team that built AppEngine. They share the same technical leadership and a lot of the technical stacks, for example, billing and security (gVisor). I dont think it's that simple to replace one service with another. It requires a lot of very sensitive dealing with external customers. And one cannot (easily) use the typical "Google deprecation" on a Cloud service offering, either. So i…
Cloud Run adds min instances feature for latency-sensitive apps
51–60 of 65 posts
Re: Cloud Run adds min instances feature for latency-sensitive apps
#52I wonder how this compares to Cloudflare Workers Unbound https://blog.cloudflare.com/introducing-workers-unbound/
With google cloud run it’s effectively running your container. You can use whatever language you want, whatever apt dependencies you need, whatever Linux flavor (ubuntu/alpine/busybox) e.t.c
In that sense cloud run is the more generic serverless platform. The devs can indeed say “it works on my machine, so let’s ship my machine and scale it up as needed and hibernate when not in use”
Re: Cloud Run adds min instances feature for latency-sensitive apps
#53Does this open the door to having websockets on cloud run?
Although may be there is a way I don’t know.
Re: Cloud Run adds min instances feature for latency-sensitive apps
#54Yesssss. Right now I have a cron that hits my app every minute to keep it warm. However even with that I see cold starts every now and then. This removed that problem. It’s so surprising that AWS and Azure don’t have an equivalent to GCP cloud run. Being able to run a container on demand with a custom image with whatever language and dependencies you want is amazing. I’ve spun up browsers for snapshotting and seeing…
Re: Cloud Run adds min instances feature for latency-sensitive apps
#55Does this apply to Firebase functions as well?
Re: Cloud Run adds min instances feature for latency-sensitive apps
#56Earlier quoted context omitted.
I disagree. App Engine is nothing like Cloud Functions/Run. The former is a better fit for your entire app stack (think Heroku) while the latter is for ad-hoc. As for Cloud Functions and Cloud Run, the way you deploy is completely different. Cloud Run is strictly meant for containers.
I would be interested in something like AWS Lambda@Edge or Cloud Workers from Google. Love to run a simple script close the visitor's location e.g. from Belgium DC instead of US DC etc
Google has many data centers around the world. I don’t see why they can have cloud run automatically select the data center closest to the user and spin up the container there. That would deffo solve a lot of problems.
Re: Cloud Run adds min instances feature for latency-sensitive apps
#57Does this open the door to having websockets on cloud run?
No cloud run is only for http requests only. Not even push. You want to use this for short lived requests. Web sockets need more persistent connections. Although may be there is a way I don’t know.
Knative in your own cluster supports it but I want scale to zero instead of paying for a cluster.
They say that it supports sockets but not bi-directional. You can't send messages back up the socket which we're using for GQL mutations
Re: Cloud Run adds min instances feature for latency-sensitive apps
#58Yesssss. Right now I have a cron that hits my app every minute to keep it warm. However even with that I see cold starts every now and then. This removed that problem. It’s so surprising that AWS and Azure don’t have an equivalent to GCP cloud run. Being able to run a container on demand with a custom image with whatever language and dependencies you want is amazing. I’ve spun up browsers for snapshotting and seeing…
I dream of a day when the underlying “cloud” is completely commoditized and interoperable, and your code will run wherever is cheapest, and the cost actually becomes less than self hosting.
Re: Cloud Run adds min instances feature for latency-sensitive apps
#59Yesssss. Right now I have a cron that hits my app every minute to keep it warm. However even with that I see cold starts every now and then. This removed that problem. It’s so surprising that AWS and Azure don’t have an equivalent to GCP cloud run. Being able to run a container on demand with a custom image with whatever language and dependencies you want is amazing. I’ve spun up browsers for snapshotting and seeing…
Re: Cloud Run adds min instances feature for latency-sensitive apps
#60Compared to AWS, the big thing cloud run and cloud functions are missing is per millisecond billing. Per 100ms billing is too wide grained. AWS lambda has per ms billing and it makes a big difference if your using a perf optimized language like golang or rust.