Facebook Chat and Comet Scaling

by Dylan SchiemannMay 16th, 2008

High 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.

3 Responses to “Facebook Chat and Comet Scaling”

  1. Comet Daily » Blog Archive » On-board vs. Off-board Comet Says:

    [...] 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 [...]

  2. Comet Daily » Blog Archive » A Million User Comet App with MochiWeb Says:

    [...] Erlang and MochiWeb continue to gain popularity in the Comet space. Other recent Comet Erlang stories include Roberto Saccon’s Getting Started with Comet on Erlang, and Facebook’s use of ejabberd. [...]

  3. Alex Cheng Says:

    The old link is broken. The new link is http://highscalability.com/blog/2008/5/14/new-facebook-chat-feature-scales-to-70-million-users-using-e.html


Copyright 2015 Comet Daily, LLC. All Rights Reserved