Serverless WebSockets with Azure Functions

Serverless WebSockets with Azure Functions

Jul 5, 2022

This video complements the blog post and demo about Serverless WebSockets with Azure Functions. I'll explain how data is distributed in realtime using WebSockets in a serverless application running in Azure. The context is a multiplayer Advanced Dungeons & Dragons (ADnD) style game that is turn-based with realtime state updates.

0:00 - Intro

0:14 - Blog post

0:33 - Demo

2:24 - VSCode & CodeTour

3:05 - Tech stack

3:38 - Communication between front-end & back-end

5:07 - Azure Functions

6:25 - Publishing messages

7:25 - Creating the client-side connection

8:00 - Subscribing to messages

9:09 - Closing

About Ably

Ably is an enterprise-grade pub/sub messaging platform. We make it easy to efficiently design, quickly ship, and seamlessly scale critical realtime functionality delivered directly to end-users. Every day, we deliver billions of realtime messages to millions of users for thousands of companies.

https://ably.com