BT

InfoQ Homepage News How Facebook Ships Code

How Facebook Ships Code

Bookmarks

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. 

Rate this Article

Adoption
Style

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.

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

Community comments

  • Your message is awaiting moderation. Thank you for participating in the discussion.

    > "Facebook is probably the hottest company today"

    Yes, slightly hotter than MySpace.com.

    Peace,

    Cameron.

  • Re: Ugh

    by Nicolas Duran /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    OMG !!! LOL...

  • Chuck Rossi's presentation

    by Jez Humble /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.