Facebook Opens Live Commenting To All - InformationWeek
IoT
IoT
Software // Social
News
2/8/2011
11:27 AM
50%
50%
RELATED EVENTS
Building Security for the IoT
Nov 09, 2017
In this webcast, experts discuss the most effective approaches to securing Internet-enabled system ...Read More>>

Facebook Opens Live Commenting To All

A company engineer details the behind-the-scenes development challenges in creating the new instant messaging-like feature.

Top 15 Facebook Apps For Business
(click image for larger view)
Slideshow: Top 15 Facebook Apps For Business

Facebook on Monday confirmed all users now have access to live commenting, a capability that allows accountholders to communicate in real-time.

First unveiled about two weeks ago, live commenting now gives Facebook users access to a more instant message-like experience within the social network. Users no longer must refresh their page to see if a friend has responded to a post; instead, comments appear as other users post them. The idea sounds simple: Execution, however, was not as easy as it appears, said Ken Deeter, a Facebook software engineer, in a company blog.

"This wasn't a small challenge: every minute, we serve over 100 million pieces of content that may receive comments. In that same minute, users submit around 650,000 comments that need to get routed to the correct viewers," he wrote. "To make this feature work, we needed to invent new systems to handle load patterns that we had never dealt with before."

At first, Facebook considered a poll-based approach that would periodically send a request to check whether new comments had arrived on pages with content that could be commented on, said Deeter. Although the social media giant could increase the polling frequency to approximate a real-time feel, the approach would not scale, he said.

"Because humans are so sensitive to latency in real-time communications, creating a truly serendipitous commenting experience requires comments to arrive as quickly as humanly and electronically possible," wrote Deeter. "In a poll-based approach this would mean a polling interval of less than five seconds (and that would still feel slow!), which would very easily overload our servers."

Instead, Facebook opted for a push-based approach, one that would let it know who was viewing each of the 100 million pieces of content per minute that the company serves, he said. And Facebook required a system that also could manage the rate at which this data changed -- up to 16 million new associations per second, Deeter noted.

Previous
1 of 2
Next
Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
How Enterprises Are Attacking the IT Security Enterprise
How Enterprises Are Attacking the IT Security Enterprise
To learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Register for InformationWeek Newsletters
White Papers
Current Issue
2017 State of IT Report
In today's technology-driven world, "innovation" has become a basic expectation. IT leaders are tasked with making technical magic, improving customer experience, and boosting the bottom line -- yet often without any increase to the IT budget. How are organizations striking the balance between new initiatives and cost control? Download our report to learn about the biggest challenges and how savvy IT executives are overcoming them.
Video
Slideshows
Twitter Feed
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Flash Poll