News for hackers. Stuff that matters.
Re:Scaling Secret: Real-Time Chat by daurnimator on Thursday May 14, 2015 @12:21AM (#9543426)
> Aside: 50000 concurrent requests on a single thread, huh? :) Unless I'm missing something, that's 50 seconds assuming a request takes only 1ms to process. Sounds like magic.

1ms to route a chat message is plenty.

e.g. on a single AWS m1.small prosody[1] can process 40,000 stanzas per second.

[1] http://prosody.im

Re:Scaling Secret: Real-Time Chat by davidbyttow on Thursday May 14, 2015 @04:18AM (#9543966)
It's not just routing. It hS to read modify write from DB first