Facebook chat is developed in Erlang
Posted by Mickaël Rémond on 18 May 2008Facebook recently announced that their chat system is based on Erlang code running on a large cluster. It confirms that Erlang is a key tool for building large scale applications, especially for social networks.
Like ProcessOne has used Erlang to build its Instant Messaging suite of tools, Facebook is using Erlang to build its web based chat infrastructure.
The system uses a Comet based programming approach. From our knowledge the system uses Mochiweb as its web server to handle the massive number of long polling connections.
More details are available from Facebook engineering blog.
Categories: Jabber / XMPP Erlang
Comments
interesting…
why Mochiweb and not YAws ?
Posted by llathieyre on 18 May 2008 at 14:33I think they might use Mochiweb because it is lighter. As it has less features it can be easier to tune it and customize it for their own needs.
Posted by Mickaël Rémond on 18 May 2008 at 14:36mochiweb also because of the better support for long lived http connections that suit comet (push-pull), which has inspired projects like erlycomet ( that used dojo + mochiweb )
Keep Clicking,
~B
This is the first I’ve heard that they’re using mochiweb, but from the HTTP headers it looks like they are. They’ve definitely slightly modified the source though:
Server: MochiWeb/1.0 (I’m not even supposed to be here today.)
Posted by Bob Ippolito on 20 May 2008 at 15:15
Add comment
Search our blogs
To make it easier for you to find blogs on topics that you are interested in, we have grouped them into categories depending on the different themes addressed in each blog. Categories include:
Process-one
Jabber / XMPP
ejabberd
Erlang
Tsung
French
Employment opportunities
IMtrends
All categories
Become a ProcessOne partner
Find out about the benefits of joining ProcessOne’s partnership programme.
Click here
Our products and services
We offer packaged solutions comprising all of the server-side and client-side technology necessary to create valuable new instant messaging applications. In addition, we offer a range of services for delivering customised solutions.
Click here for full details