• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Facebook, Robert Johnson

on

  • 2,319 views

 

Statistics

Views

Total Views
2,319
Views on SlideShare
2,319
Embed Views
0

Actions

Likes
1
Downloads
17
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Facebook, Robert Johnson Facebook, Robert Johnson Presentation Transcript

    • Million Active Users M M M M M M M
    • # property on the Internet (time on site) s of billions of monthly page views > trillion feed actions processed per day s of millions of cache queries per second Over trillion objects cached Over million active users, half log in every day billion photo files stored Over billion minutes spent every Day Over billion pieces of content uploaded every week
    • Move Fast Server Scaling Reliability
    • Million Active Users M M M M M M M
    • Over million active users per engineer , , , , , , , , , , , Facebook Google* Amazon* Microsoft* * Conservative estimates based on publicly available data
    • Few external deadlines... but
    • The site can’t go down
    • Frequent small changes Never a delay waiting for a push Easier to isolate bugs Major changes dark launched
    • Traditional websites Bob’s data Bob
    • Traditional websites Bob’s data Beth’s data Bob Beth Julie’s data Sue’s data Julie Sue Dan’s data Erin’s data Dan Erin
    • Facebook the data is interconnected Bob Beth Erin Servers
    • Scale Horizontally
    • Web Server Memcache Database
    • Web Server Memcache Database
    • Web Server Memcache Database
    • Web Server Memcache Database
    • Network Incast Memcache Memcache Memcache Memcache Switch PHP Client
    • Network Incast Memcache Memcache Memcache Memcache Switch Many Small Get Requests PHP Client
    • Network Incast Memcache Memcache Memcache Memcache Switch Many big data packets PHP Client
    • Network Incast Memcache Memcache Memcache Memcache Switch PHP Client
    • Network Incast Memcache Memcache Memcache Memcache Switch PHP Client
    • Network Incast Memcache Memcache Memcache Memcache Switch PHP Client
    • Reliability
    • Single Points of Failure
    • Single Points of Failure Software can be a SPOF
    • Don’t make small problems big
    • Don’t make small problems big Don’t push problems upstream
    • Don’t make small problems big Don’t push problems upstream Be wary of “smart” failover
    • Don’t make small problems big Don’t push problems upstream Be wary of “smart” failover Shed load when you’re in trouble
    • If you lose half of your machines you’re doing well if you’re serving half of your traffic
    • Measure Everything
    • p vs p
    • Culture Always do a post-mortem Release often Control and Responsibility
    • Facebook Platform
    • Lessons Learned Federate everything Keep failures contained Measure distributions Understand every problem Make a person responsible
    • (c) Facebook, Inc. or its licensors.  "Facebook" is a registered trademark of Facebook, Inc.. All rights reserved. .