Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.58 KB

Week-10.md

File metadata and controls

38 lines (23 loc) · 1.58 KB

Week 10: Strong Consistency and Distributed Databases

Learning Objectives

  1. Explain how 2 phase commit works and how it handles failures
  2. Explain the implications of the FLP result
  3. Describe the Raft consensus algorithm
  4. Explain causal consistency in Neo4j

Mandatory Lecture Materials

Slides are on Canvas.

Video lessons for the materials are here

Mandatory Reading

  1. Chapter 12 of course book
  2. Chapter 9, Designing Data-Intensive Applications, Martin Kleppmann, O'Reilly Publishing (available online at Snell library)

Optional Reading

  1. Chapter 7, Designing Data-Intensive Applications, Martin Kleppmann, O'Reilly Publishing (available online at Snell library)
  2. Raft versus Paxos from MIT Lecture Series
  3. Raft Features in MongoDB

Labs

Class Exercises: Work through the Raft explanation here and make sure you understand how the protocol works.

Install Redis on EC2. The Quickstart is here.

More install instructions on AWS Linux are here or if Medium access is painful here.

Choose and test a Redis Java client from here. Jedis is popular,

Back to Course Home Page