Nice! I d like to see an episode on ActionCable & Redis tuning and optimisation to allow massive number of subscribers (100+) with frequent updates. Im currently pushing matrix with data of size 800*50 each few seconds and struggling to have more than 100 subscribers, as it starts lagging
Yeah that's going to be an interesting one. Presumably you'll end up needing to build a cluster of dedicated actioncable servers and maybe you connect 100 users to each at a maximum. At some point as well, you'll probably run into Redis pubsub scaling problems, but that hopefully isn't a bottleneck right away.
Chris, I'm currently using RedisCloud $10 plan on my Heroku app.
From the pricing page (https://elements.heroku.com..., this plan has 256 connections.
Does it mean my app can only serve 256 concurrent (ActionCable chat) users at one time?
What will happen to 257th user? He will not subscribed to Redis Pub/Sub and his message won't get broadcasted?
Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.