3 ms·
Just to give some specific numbers: - 40 visits a day - costs 0.01 USD per month - cold start time: 350 ms - however request latencies are 99%: 120ms, 95%: 85ms
by kebsup 3y ago
Just to give some specific numbers:
- 40 visits a day
- costs 0.01 USD per month
- cold start time: 350 ms
- however request latencies are 99%: 120ms, 95%: 85ms, 50%: 5ms
- there seems to be "idle" instance like 80% of the time
The website with source: https://github.com/PetrKubes97/ts-neural-network https://github.com/PetrKubes97/ts-neural-network
- schemescape 3y agoAm I reading correctly that you’re running a site with 40 visits per day and it’s only costing you 1 cent per month? So you have a container with Alpine Linux and nginx and that’s hosted in Cloud Run and mapped to your domain? When you say “visits” do you mean the container is active 40 times per day (presumably for not very long)? Edit: what determines when to suspend the container? Edit again: answering the previous question: https://cloud.google.com/blog/topics/developers-practitioners/lifecycle-container-cloud-run https://cloud.google.com/blog/topics/developers-practitioner...
- kebsup 3y agoYes, that's exactly right. 40 visits, is just what plausible measures, and looking at GCloud logs, seems that container start count is in similar range.