4 ms·
Did you also perform some tests with slow clients (or ones that do not receive data at all)? These are the situations where it usually gets a lot more interest
by Matthias247 10y ago
Did you also perform some tests with slow clients (or ones that do not receive data at all)?
These are the situations where it usually gets a lot more interesting. E.g. if the library just buffers messages all the way until they can be sent you might get out of memory sooner or later.
- socmag 10y agoAh well we have high level policy to deal with obnoxious clients. We will forcibly boot a client if it exceeds certain limits. This is imposed at the application layer. But no I haven't explicitly tested with thousands of leaky clients.
- alexhultman 10y agoYou can register callbacks to the send calls so that you can keep track of the built up "to be sent" message queue.