IoT and WebSockets in K8s: Operating and Scaling an EV Charging Station Network
Cloud Native Summit Munich
0:00 / 0:00
IoT and WebSockets in K8s: Operating and Scaling an EV Charging Station Network
95 просмотров · 2 года назад
Cloud Native Summit Munich
202 подписчика
95 просмотров · 2 года назад
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.
Kubernetes Community Days (KCDs) are global, community-organized events that gather adopters and technologists from open source and cloud native communities. This is our third edition in Munich, and we’re excited to bring the community together. We want to provide a platform for professionals and experts from all levels and backgrounds to learn, network, and share their knowledge on all things cloud native.
Find out more on https://www.kcdmunich.com
Follow us on:
LinkedIn - / kubernetes-community-days-munich
Twitter/X - / kcdmunich
Instagram - https://www.instagram.com/kcdmunich?i...