Websockets with Cloud Run
Using WebSockets → https://goo.gle/3jSHUAl
Socket.IO Chat → https://goo.gle/3zT5WAL
Redis instance → https://goo.gle/3h7QGZa
WebSockets opens two-way connections between a client and server, allowing both to trigger communication and send messages at the same time. In this episode of Serverless Expeditions Extended, Averi and Grant discuss options for building real-time applications, and they deploy a Cloud Run websocket application. Watch to learn the difference between SSE, WS, gRPC and discover how you can use websockets with Cloud Run!
Chapters:
0:00 – Intro
0:53 – Real-time Protocols
1:04 – Server-sent events
1:36 – Websockets
1:57 – gRPC
2:22 – Recommendation
2:33 – Diving into code
3:10 – Deploying to Cloud Run
3:35 – Testing the app
3:58 – Averi to the rescue
4:35 – Redis
4:49 – Creating a Redis instance
5:18 – Updating app to use Redis
5:48 – Redeploying to Cloud Run
6:02 – Conclusion
6:27 – Thanks Averi!
Checkout more episodes of Serverless Expeditions → https://goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
#ServerlessExpeditions #ServerlessExpeditionsExtended #CloudRun
product: Cloud – Serverless Computing – Cloud Run; fullname: Grant Timmerman, Averi Kitsch; re_ty: Publish;
Comments are closed.