3 ms·
I found 1M messages/day rather too low. So I checked the video, sure enough they have 1B messages/day using close to 10Gbps at peak, with 100+ servers. A correc
by vicaya 17y ago
I found 1M messages/day rather too low. So I checked the video, sure enough they have 1B messages/day using close to 10Gbps at peak, with 100+ servers. A correctly built (epoll/reactor based) C/C++ based system should be able to handle that with ~10 servers.
I suspect that erlang is successful despite of the language itself, mostly because it's also a mature product: a well tested production quality actor system with decades of tweaking.
I liked the Q&A especially whether a better type system would catch the "horrible bugs" they had :)
- mononcqc 17y agoPresence probably takes more juice than the billion messages, and a good chunk of these servers can probably be there as fallbacks in case of failures. Just a supposition. They do use C++ for the chat system, it's mainly the channels/presence (If memory serves me right) that are implemented in Erlang.