Cloud Run & Serverless
3 articles from official documentation
Choosing the Right Execution Environment in Cloud Run
Cloud Run offers two execution environments, but picking the right one can significantly impact your service's performance. The second generation environment requires at least 512 MiB of memory but provides full Linux compatibility and better performance. Let's dive into the details.
- →Specify the execution environment using the --execution-environment flag during deployment.
- →Use the first generation for bursty traffic or services sensitive to cold start times.
Unlocking Cloud Run: The Power of Fully Managed Applications
Cloud Run transforms how you deploy applications by running your code in a fully managed environment. With features like dynamic autoscaling and request-based billing, it’s designed for efficiency and scalability. Dive in to learn how to leverage its capabilities effectively.
- →Leverage services for stateless applications that need to respond to HTTP requests.
- →Use jobs for tasks that can run to completion on a schedule.
Mastering Cloud Run Rollouts and Traffic Management
Cloud Run's rollout and traffic migration features are essential for smooth deployments. Learn how to split traffic between revisions and manage session affinity effectively.
- →Utilize traffic splitting to control which revisions receive traffic and at what percentage.
- →Manage session affinity to influence traffic distribution during rollouts.
Simple, affordable cloud — VMs, Kubernetes, and managed databases in minutes. Trusted by 600,000+ developers. Spin up a Droplet in 60 seconds.
Try DigitalOcean →Get the daily digest
One email. 5 articles. Every morning.
No spam. Unsubscribe anytime.