6 ms·
ONE MILLION! (2011)
- CodeBeater 5y agoCurious, this article seems to be translated (properly, not automatically) for me.
- arunc 5y agoThis post is from 2011 and requires post update
- iKevinShah 5y agoWhile things might have changed and improved at the back-end but this is impressive in 2021, makes it even more impressive in 2011 IMO
- arketyp 5y agoI bet that's an effective job ad. I have no idea of the significance of this news. (But I'm glad to hear Erlang is/was still in use.)
- etaioinshrdlu 5y agoWhen WhatsApp got acquired, it was huge news due to the small size of their team, and that their backend was mostly Erlang. It created a massive wave of interest in Erlang.
- etaioinshrdlu 5y agoWhat are the factors that made this a hard problem? Isn't having 1,000,000 open TCP connections kind of similar to having a 1,000,000 row key-value database? As long as it fits in RAM it doesn't seem too terrible. You could even do the TCP protocol in userspace and literally use a key-value database to store all state, I think.
- EdSchouten 5y agoThe problem with TCP is usually that you also have send buffers, of data that the client hasn’t acked, and receive buffers of data that the user space process hasn’t read yet. That state is a lot larger than just a tuple stored in a database.
- herouyter 5y ago1 million tcp connection is that possible? I am not an expert just thinking about the maximum port number how this could be possible ?
- Robin_Message 5y agoYou can identify the connection by the local port, remote port, remote IP triplet. That gets you many, many connections.
- nlitened 5y agoI believe, also local IP address, as a machine may have multiple network interfaces with different IP addresses. At least it's something that I've read being used for a demo of simultaneous one million network connections.
- VadimPR 5y agohttps://blog.whatsapp.com/on-e-millio-n?lang=en https://blog.whatsapp.com/on-e-millio-n?lang=en English version
- ydnaclementine 5y agoNaive question, is freebsd actually a big factor in this capability (compared to linux)? I'd imagine that erlang(/beam) is the biggest contributing factor. But this is coming from someone who hasn't used freebsd