News for hackers. Stuff that matters.
Re:uWebSockets 0.10.0 by Matthias247 on Wednesday October 05, 2016 @11:23AM (#12644607)
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.

Re:uWebSockets 0.10.0 by socmag on Wednesday October 05, 2016 @11:37AM (#12644752)
Ah 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.

Re:uWebSockets 0.10.0 by alexhultman on Wednesday October 05, 2016 @12:36PM (#12645398)
You can register callbacks to the send calls so that you can keep track of the built up "to be sent" message queue.