4 ms·
Imagine how long it would take to send a simple message to all of those websockets. Having many websockets is nice, but only if the rest of your infrastructure
by amelius 11y ago
Imagine how long it would take to send a simple message to all of those websockets. Having many websockets is nice, but only if the rest of your infrastructure can deal with it.
- Refefer 11y agoClearly a chatroom with half a million individuals is unusable from pretty much every perspective. That said, a chat server with N chatrooms and a total population of 500k users sounds like a good day on IRC and well within the realm of what something like this could potentially handle.
- nickpsecurity 11y agoExactly
- felixgallo 11y agoThat depends very much on what's doing the chatting. If it's code chatting with other code -- for example, mobile devices receiving near-real-time notifications -- then half a million is just getting started.
- chrismccord 11y agoProbably faster than you'd link. With the linked Phoenix results, we have real payloads going out to 2M clients in 1-2s: https://www.youtube.com/watch?v=N4Duii6Yog0 https://www.youtube.com/watch?v=N4Duii6Yog0
- jlouis 11y agoOn a perfect network, I presume. In reality, clients lose packets and strains the system differently. There is more to this than just perfect network conditions in a lab setting.