filmov
tv
Connecting millions of users by Andreas Koestler: Scala in the City Conference
Показать описание
Connecting millions of users - of WebSockets, fs2, and Pulsar at scale
Horizontally scaling WebSockets is hard - how do you scale them across multiple servers?
Publishing to a channel on one server is fine, provided all subscribers are connected to that one server. As soon as you have multiple servers, you need to add something else to the mix. In this talk I will explore ways of scaling out WebSockets to connect millions of users in real-time and show how fs2 and Apache Pulsar can be used in clever ways to avoid some of the pitfalls commonly encountered.
Horizontally scaling WebSockets is hard - how do you scale them across multiple servers?
Publishing to a channel on one server is fine, provided all subscribers are connected to that one server. As soon as you have multiple servers, you need to add something else to the mix. In this talk I will explore ways of scaling out WebSockets to connect millions of users in real-time and show how fs2 and Apache Pulsar can be used in clever ways to avoid some of the pitfalls commonly encountered.