Professional Documents
Culture Documents
23-FacebookDC Advanced Computer Networks 2015
23-FacebookDC Advanced Computer Networks 2015
23-FacebookDC Advanced Computer Networks 2015
Server Services
Each server has precisely one role:
• web/front-end server news feed
and ads
• mysql (db) server
• cache leader Layer-4 software
• cache follower load balancer
• multifeed server to assemble news feed and serve ads fetch cache
• Hadoop server for offline analysis and data mining stateless, data miss
no user data
A small number of servers can be dynamically
repurposed src \ dst
grouped by grouped by
destination destination
grouped by
destination
only 30% lasts < 100 secs widely distributed tightly distributed around 1 MB
Impact of Load Balancing Impact of Load Balancing
Hadoop rate
Load balancing smooths out traffic, is widely Load is monitored ⇒ large increases in load would be
distributed
reducing effectiveness of traffic actively mitigated
engineering
Hot objects are temporarily cached at the web servers
Persistently popular objects are replicated across caches
cache rate per- cache rate per-
destination destination Top-50 most popular objects are evenly spread across
rack is similar rack is further all caches
across racks similar over
time No heavy hitters (set of flows responsible for 50% of
traffic volume) due to load balancing and caching