Replies: 1 comment 4 replies
-
Memory consumption of anycable RPC doesn't depend on number of connected idle clients. It depends on number of connections/disconnections or number of incoming websocket requests from client. When clients are connected idle or receive messages from server, anycable RPC doesn't do anything. Please check your app's logic for freshly connected clients or incoming messages handling–most probably you have unoptimized code in your application logic (like huge ActiveRecord result sets). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My rails 6.0 app with anycable-rails 1.0.0 (front end is in Angular) is taking up 151mb when anycable-rails is started using
bundle-exec anycable
With just 50 users we are going beyong 300% CPU usage.
How to debug.
I've put RAILS_ENV=production in the environment
Also, I'm running anycable and go on a different server than puma
Beta Was this translation helpful? Give feedback.
All reactions