The quest for serverless WebSockets, an adventure with Azure Functions and Durable Functions
What do you need to build a serverless application that can communicate with client devices in realtime? In this session I'll show how to combine Azure Functions, Durable Functions and serverless WebSockets (Ably) to achieve this.
The context is a multi-player ADnD style game (with pixel-art of course) running on Azure Static Web Apps. I'll cover:
- How the clients interact with HTTP triggered functions in the .NET based Azure Functions back-end.
- How Durable Entities are used for the centralized game state.
- How serverless WebSockets are used to sync the state to the clients.
We will play the game live as well! https://quest.ably.dev/
Session requires an internet connection (for me and the attendees) to play the game live.
I ♥ Serverless, Dev Communities, & Creative Coding
Amsterdam, NetherlandsView Speaker Profile