Hacker News new | ask | show | jobs
by rohan404 2646 days ago
ActionCable is super easy to use out of the box to get WebSockets running, but it's incredibly non-performant. Anything more than 100 concurrent users took the time taken to a send a message to the socket from milliseconds to seconds. Replacing it with the AnyCable gem in conjunction with AnyCable-Go got us to over 1000 concurrent users without a hitch.
1 comments

Is Redis the bottleneck?
Nope it was Ruby / Rails itself.
Was it an issue with Passenger and the number of concurrent connections it could hold?