How to use Cloud Run "always-on" CPU allocation for background work

Feature announcement →
Open source code repo folder →

In this episode of Serverless Expeditions, Martin and Wesley optimize their weather alerting app by pulling the values from a cache instead of hitting an external API. Watch as they speed up their app by taking advantage of Cloud Run’s “always-on” CPU allocation, allowing them to keep the cache updated and drop app latency by more than 80%!

0:00 – Intro
0:52 – Caching layer
2:04 – Enabling “always-on” CPU & code preview
2:38 – App deploy & demo
3:15 – Cost & autoscaling considerations
4:13 – Summary

Feature documentation page →

Checkout more episodes of Serverless Expeditions →​
Subscribe to Google Cloud Tech →​

#ServerlessExpeditions​ #ServerlessExpeditionsExtended

product: Cloud – Serverless Computing – Cloud Run; fullname: Martin Omander; Wesley Chun;

Duration: 00:04:43
Publisher: Google Cloud
You can watch this video also at the source.