RMQ running low on Memory #9920
Unanswered
BigBoulard
asked this question in
Questions
Replies: 1 comment 5 replies
-
What's the question here? Of course as you add more users / connections / channels, it will require more memory... Keep in mind that non-durable things (exchanges, queues) are pretty much going away soon (in 4.0 next year). You didn't say anything about the queues you use but the choices here may heavily impact the memory usage. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I'm working on a chat application that uses RMQ to route messages to rooms.
At startup, the application creates a single topic exchange (non-durable non-auto-deleted) and a pool of 20 connections.
When a user connects, the application:
side note: messages are transient and no ACK is required.
The design looks like this:
Then, I created a stress test script that creates pairs of users in a room and makes them chat indefinitely to see where and how it breaks.
After around 16 250 users, the application breaks with RMQ being low on memory. I can see this log on the RMQ instance:
It's the first time I use RMQ, so I'm not sure if the way I'm using it is okay and then either I'm doing something wrong or maybe I just need more resources ... or if this implementation is just non-sense.
Beta Was this translation helpful? Give feedback.
All reactions