Facebook Chat and Comet Scaling
by Dylan SchiemannMay 16th, 2008High Scalability is featuring a detailed analysis describing how the New Facebook Chat Feature Scales to 70 Million Users Using Erlang. Points of interest include:
- long-polling
- XMPP assumes persistent connections, so they store information on the server-side until connections become available
- Erlang for handling large numbers of concurrent connections
- Thrift was used to allow the PHP, Javascript, Erlang, and C++ parts of their system to invoke each other
Check out the full article for more details on building a web-based IM platform that supports 70 million users.










May 22nd, 2008 at 6:21 am
[...] Cometd would have taken much more effort. On the other hand if, like Facebook, we’d wanted to use Erlang to overcome threading problems, DWR would have been a [...]