BT

How Facebook Ships Code

by Jean-Jacques Dubray on Jan 26, 2011 |

Yee Lee, a product manager at Skype, has assembled a large collection of notes detailing how code ships at Facebook. Facebook has adopted a developer driven culture. Facebook is organized around two large teams: Engineering and Ops. With a product manager-to-engineer ratio averaging between 1-7 and 1-10. All engineers go through a boot camp during which they fix bugs and attend lectures from senior engineers.

”product managers are essentially useless here.” is a quote from an engineer. engineers can modify specs mid-process, re-order work projects, and inject new feature ideas anytime [...] though, it’s apparent that Facebook’s culture has really embraced product management practices so it’s not as though the role of product management is somehow ignored or omitted.

In Yee's opinion, the culture of the company seems to be set so that everyone feels responsibility for the product.  The key to being influential is to have really good relationships with engineering managers.

Engineers handle entire features themselves, from JavaScript to Database code. Engineers are also responsible for testing, bug fixes, and post-launch maintenance of their own work. There is QA at Facebook, just not as an official team. In effect, there is mandatory code review for all changes. A Facebook employee adds:

most engineers are capable of writing bug-free code. it’s just that they don’t have an incentive to do so at most companies. when there’s a QA department, it’s easy to just throw it over to them to find the errors.

Facebook has adopted a weekly release schedule. Code is gradually roled out to the 60,000+ servers Facebook uses. The roll out is divided in 9 levels, with the first level starting with only 6 servers.

Projects are sources on a voluntary basis. Someone lobbies people to work on his idea and engineers decide to contribute or not.

Operations is obviously paramount to Facebook's success.

ops team is really well-trained, well-respected, and very business-aware. their server metrics go beyond the usual error logs, load & memory utilization stats — also include user behavior.

Facebook is one of the most scalable Web platform to date, serving more than 40 B pages / day. You certainly do not get there by chance and without a wicked smart engineering driven culture. 

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Ugh by Cameron Purdy

> "Facebook is probably the hottest company today"

Yes, slightly hotter than MySpace.com.

Peace,

Cameron.

Re: Ugh by Nicolas Duran

OMG !!! LOL...

Chuck Rossi's presentation by Jez Humble

Chuck Rossi gave a presentation on Facebook's release process here: www.infoq.com/presentations/Facebook-Release-Pr...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

3 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT