Re:StimulusReflex, or LiveView for Rails
by bestinterest on Friday January 15, 2021 @09:26AM
(#25791261)
There's a project called AnyCable which replaces ActionCable to give Rails the real-time performance equivalent of LiveView.
See this https://evilmartians.com/chronicles/anycable-actioncable-on-...
Looks like having 20,000 idle clients connected to a server sits at only 380MB and Erlang is at 737MB.
Thanks for posting this. I need to try it out. I'm specifically curious about how it performs when a certain amount of those 20k connections are busy and generating traffic. If I'm understanding, the anycable-go connection to ruby is over RPC? So individual websocket messages generate requests to ruby? I could see this performing better for idle connections, that's for sure.
Re:StimulusReflex, or LiveView for Rails
by julianrubisch on Friday January 15, 2021 @12:29PM
(#25793434)
I’m really excited for Ractors in this content and how/if they could improve the Ruby side
Re:StimulusReflex, or LiveView for Rails
by deedubaya on Friday January 15, 2021 @11:23AM
(#25792562)
I've had good success with AnyCable
> Looks like having 20,000 idle clients connected to a server sits at only 380MB and Erlang is at 737MB.
That's with Go, versus with anycable itself. Anycable-go looks like 798?
I'm very interested to learn what has changed since then that made this possible, or made it work better. Or whether those problems are just being "lived with".