Hi, to watch this video you are required to allow the usage of both advertising and functional cookies.

IoT and WebSockets in K8s: Operating and Scaling an EV Charging Station Network

23 March 2024

The stateful nature of WebSockets carries inherent complexities regarding horizontal scaling. Kubernetes is a natural fit for stateless workloads, but operating scalable stateful applications can be challenging. We discuss these challenges in the context of an EV charging IoT platform. A concrete problem we faced revolves around WebSocket reconnection storms: if thousands of charging stations lose their connection, e.g., due to regional network carrier outages, they all try to reconnect simultaneously once the network issue is resolved, thus causing large load spikes. These load spikes propagate across our systems, potentially causing positive feedback loops and introducing instability. In this talk, we dive into the intricacies of scaling out WebSockets and how we evolved the system architecture towards event-driven communication. We discuss how introducing a Redis-based circuit-breaker component in the connection flow helped us alleviate bottlenecks and improve system stability.

Watch next

Dialogues with Digital Minds: Collaborate with AI in Design

AI-Powered Earth Observation for a Better Tomorrow

How businesses take a digitalisation leap with GenAI. And the big test ahead

Unlocking the power of vulnerability: The secret weapon in product and design

Game design for everyone: insights from game development that will help you build products that matter

The raise from 14% to 35% women. A story of empowerment at the CodePub 10 years jubilee.

Show More