Talk
23:00
Cracking the PubSub Code: Elixir's Key to Scalable Real-Time Systems
This talk explores the inner workings of PubSub and its crucial role in building scalable, fault-tolerant, and real-time systems.
It begins with an introduction to the Publisher/Subscriber pattern, highlighting how it decouples services and facilitates efficient message broadcasting in distributed architectures.
The session then delves into Phoenix.PubSub, showing how it powers real-time features in LiveView and handles clustering across multiple nodes.
Two hands-on examples will demonstrate PubSub in action: a GenServer broadcasting state across nodes using libCluster, and real-time updates between LiveComponents and LiveView.
Perfect for Elixir developers looking to master PubSub and build resilient, scalable applications.