Scaling Rails web sockets in Kubernetes with AnyCable

One of the things I love the most about Rails is how easy it makes implementing many features with very little setup from my part. One example is ActionCable for web sockets. Before ActionCable, whenever I needed to build realtime features I had to resort to separate tools or perhaps a dedicated hosted service if scale was an issue (for example we have been using Sendbird for years at Brella).ActionCable made everything so much easier in terms of feature implementation, but with a catch: it really doesn't perform all that well with many concurrent clients. As soon as you start having a few thousands of clients active at the same time, latency goes beyond what is considered "realtime".
Scaling Rails web sockets in Kubernetes with AnyCable #ruby #rubydeveloper #rubyonrails #kubernetes #web https://rubyonrails.ba/single/scaling-rails-web-sockets-in-kubernetes-with-anycable

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles