<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shortcast opinions and ideas &#187; erlang</title>
	<atom:link href="http://www.gumza.com/tag/erlang/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gumza.com</link>
	<description>-zunGumza .. converse</description>
	<lastBuildDate>Fri, 21 Jan 2011 21:59:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>facebook chat serves 1 billion msgs a day .. here are some eng notes abt how they did it</title>
		<link>http://www.gumza.com/2009/06/17/facebook-chat-serves-1-billion-msgs-a-day-here-are-some-eng-notes-abt-how-they-did-it/</link>
		<comments>http://www.gumza.com/2009/06/17/facebook-chat-serves-1-billion-msgs-a-day-here-are-some-eng-notes-abt-how-they-did-it/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 13:53:39 +0000</pubDate>
		<dc:creator>TTB</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Scalability]]></category>

		<guid isPermaLink="false">http://www.gumza.com/2009/06/17/facebook-chat-serves-1-billion-msgs-a-day-here-are-some-eng-notes-abt-how-they-did-it/</guid>
		<description><![CDATA[Facebook Chat usage has increased steadily since its launch last year, and this week we reached 1 billion messages sent per day.
Key component of facebook&#8217;s chat scalability is their channel server. They choose to use erlang a language that is fast getting the much needed attention for building real time infrastructure. 
The channel servers are [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="clear: both"><a href="http://www.gumza.com/wp-content/uploads/2009/06/images.jpg" class="image-link"><img class="linked-to-original" src="http://www.gumza.com/wp-content/uploads/2009/06/images-thumb.jpg" height="113" align="left" width="117" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a>Facebook Chat usage has increased steadily since its launch last year, and this week we reached 1 billion messages sent per day.</p>
<p style="clear: both">Key component of facebook&#8217;s chat scalability is their channel server. They choose to use <a href="http://www.erlang.org/" title="erlang" target="_blank">erlang</a> a language that is fast getting the much needed attention for building real time infrastructure. </p>
<blockquote style="clear: both"><p>The channel servers are the most intricate piece of the backend. They&#8217;re responsible for queuing a given user&#8217;s messages and pushing them to their web browser via HTTP. We made an early decision to write the channel servers in Erlang. The language itself has many pros and cons, but we chose Erlang to power Chat because its model lends itself well to concurrent, distributed, and robust programming. It&#8217;s easy to model our millions of concurrent users with a few lightweight processes each, where the same tactic in, say, C++ would have been more daunting. Programming languages are always a tradeoff; Erlang makes some hard things easy but, unfortunately, some easy things hard. </p>
</blockquote>
<p style="clear: both">Here are links to some of the facebook engineering notes.</p>
<p><strong>Facebook chat and challenges from May 13, 2008</strong> &#8211; http://www.facebook.com/note.php?note_id=14218138919&#038;id=9445547199&#038;index=9 </p>
<p><strong>Chat stability and scalability (chris piro) </strong>- http://www.facebook.com/note.php?note_id=51412338919</p>
<p><strong>Engineering tech talk videos on chat</strong> &#8211; http://www.facebook.com/video/video.php?v=631726942083</p>
<p style="clear: both">
<p><br class="final-break" style="clear: both" /></p>
     

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.gumza.com/2009/06/17/facebook-chat-serves-1-billion-msgs-a-day-here-are-some-eng-notes-abt-how-they-did-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

