Here are two points that struck me on reading the post ..
- Changing the sql grammar in the replication stream to incorporate eviction of expired items from memcached looks like a hack. A more traditional implementation could have been using triggers or MySQL UDFs to atomicize the entire transaction. But generic solutions always come ironclad with some performance overhead. It's no wonder that Facebook needs to do all specializations, even if that amounts to no ceremony and all hack.
- Just wondering that Facebook still writes in one data center. With all the CAP theorem and eventual consistency stuff being solved by Amazon, why does Facebook still have this limitation ?
2 comments:
The rumination of a programmer is very nice
Regards
Online and Offline projects
WRT determining which page needs to be routed to a write-enabled database, the obvious solution to me would have been: every POST request.
Post a Comment