Taro Logo
1
0 Likes

Google, MapReduce and Eventual Consistency

In this lesson we discuss why Stonebraker disagreed with Google’s approach to data. We also look at the trade-off behind eventual consistency.

  • He says many people copied Google because they assumed Google knew best, but Hadoop was inefficient, and a 2011 paper he co-wrote showed that distributed databases could beat it by a wide margin.
  • Eventual consistency means updating replicas asynchronously to avoid slow distributed commits, which can let two regions sell the last widget at the same time and leave stock at minus one.
  • Most enterprises can’t tolerate that, so Google later built Spanner with conventional transactions and moved away from both MapReduce and eventual consistency, after turning down a partnership offer from his team.