How to port stateful web apps to Cloud Run

preview_player
Показать описание
In a previous episode Martin and Dina discussed how to port containerized web apps to Cloud Run. A viewer asked how to port containerized web apps that store and use sessions — in other words, apps that are stateful on the server. Watch to learn how to port stateful containerized web apps to Cloud Run so you can transition your stateful web app with ease!

Chapters:
0:00 - Intro
1:05 - Statefulness in web apps
2:34 - Storing state in Redis
3:58 - Setting up a Redis server
5:40 - Building and deploying
6:08 - Recap

#ServerlessExpeditions​ #ServerlessExpeditionsExtended #CloudRun

product: Cloud - Serverless Computing - Cloud Run; fullname: Martin Omander;
Рекомендации по теме
Комментарии
Автор

Have you successfully ported stateful web apps to Cloud Run? What issues have you run into? We’d love to hear from you in the comments below! 😃

googlecloudtech
Автор

I really enjoy this series! Thank you for the awesome videos. Esp, this one is what I've been really in need of.

sungjuyea
Автор

What is the average latency overhead of this compared to in-memory caching?

MegaMario
Автор

What is the average cost of running the reddis instance in the basic configuration you selected?

wombatp
Автор

I have a R-Script that is reading around 500MB of data from GCS ( these are input files to R-Script) and also writes output to GCS eventually in the end . At present the script runs on a VM and every 2 weeks the size of input data increases and hence I need to move to a higher instance type because of the high resource usage (CPU and memory) possibly from I/O read and writes to GCS . I am planning to move to Serverless and Cloud Run in particular. Will Cloud Run be able to distribute reads and writes across multiple instances when it autoscales or do i need to handle this in my application. Also is Cloud Storage FUSE with Cloud Run a good solution here? I hope this question makes sense :)

dheerajpanyam
Автор

Please explain in detail where is vpc serverless access required and where it's not, given the cost overhead. Thanks!

rishabhgupta-hewg
Автор

Create a VM and simply run a redis container is more cheaper right?

hwj
Автор

Does Cloud Run understand Firestore triggers? Looks like it does via Event Arc. Our use case is migrating from Firebase Cloud Functions to Cloud Run and majority of our triggers are based on Firestore events

dheer