SitePen Support
Lightstreamer

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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Orbited

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

Leave a Reply



Copyright 2010 Comet Daily, LLC. All Rights Reserved