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.