What happens if we reach the message limit?
Hello, just a quick question I can't find the answer on the web: what happens if we reach the messages limit per room?
Because I send in the update raiseevent without controlling the send rate (only for test) and I get time out error. I was wondering if it was the cause.
Thank you
Because I send in the update raiseevent without controlling the send rate (only for test) and I get time out error. I was wondering if it was the cause.
Thank you
0
Best Answers
-
Hi @antigode,
Going beyond the 500 messages per room per second has no direct relation with disconnects.
It's a soft limit so by default nothing happens when you exceed it.
Read about disconnects here, maybe you ran into a situation where you overflow the server's peer buffer so the server disconnected the peer.1 -
It is a soft limit, so nothing happens right away.
If you go over the limit, clients might run into issues more quickly - this is what the disconnects article describes e.g..
Another point to keep in mind is used traffic, if you are sending a lot of messages.5
Answers
-
Hi @antigode,
Going beyond the 500 messages per room per second has no direct relation with disconnects.
It's a soft limit so by default nothing happens when you exceed it.
Read about disconnects here, maybe you ran into a situation where you overflow the server's peer buffer so the server disconnected the peer.1 -
Yeah I read about this article before my post and I kept this overflow idea in mind. I just didn't see anything on this page about what happens when the 500msg limit is reached, maybe I missed it (?) thank you for your response!0
-
It is a soft limit, so nothing happens right away.
If you go over the limit, clients might run into issues more quickly - this is what the disconnects article describes e.g..
Another point to keep in mind is used traffic, if you are sending a lot of messages.5