1

There are ways to find out how many users/connections are there for action cable as asked here previously How do I find out who is connected to ActionCable? and ActionCable - how to display number of connected users?.

I switched to anycable for better performance and it is working in my staging env but I don't see any pubsub keys in redis, is there a way to look into the ws server details on active connections, memory consumptions etc.

Subash
  • 3,128
  • 6
  • 30
  • 44
  • AnyCable doesn't leak any implementation details (like redis keys), so you cannot built your application on top of internal APIs (and find it broken one day after a version upgrade). In order to track current users, you should add a kind of _presence tracking_ layer yourself. (We plan to provide Presence APIs out-of-the-box in the future versions, though; but not right now) – palkan Aug 25 '22 at 20:42

0 Answers0