News for hackers. Stuff that matters.
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.

Re:StimulusReflex, or LiveView for Rails by jakswa on Friday January 15, 2021 @10:14AM (#25791846)
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
Re:StimulusReflex, or LiveView for Rails by bpicolo on Friday January 15, 2021 @10:49AM (#25792189)
> 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?

Re:StimulusReflex, or LiveView for Rails by ksec on Friday January 15, 2021 @03:15PM (#25795757)
I remember there were still latency issues, with 99th percentile being well over 100ms.

Cant find the link to the article though.