Scaling Out
Facebook’s two data centres: for each update they include instruction in MySQL replication log to expire the object in memcache. Whenever user updates their data a cookie is set and for next 20s the LB uses Level 7 to send them to the master data centre so the slave has time to catch up and expire the cache.
Published
In
bookmarks
Categories
- #architecture
- #dev
- #data
- #loadbalancer
- #level7
- #scaling
- #web
- #mysql
- #replication
- #database
- #cache
- #memcache
- #via-pinboard