- Explain how 2 phase commit works and how it handles failures
- Explain the implications of the FLP result
- Describe the Raft consensus algorithm
- Explain causal consistency in Neo4j
Slides are on Canvas.
Video lessons for the materials are here
- Chapter 12 of course book
- Chapter 9, Designing Data-Intensive Applications, Martin Kleppmann, O'Reilly Publishing (available online at Snell library)
- Chapter 7, Designing Data-Intensive Applications, Martin Kleppmann, O'Reilly Publishing (available online at Snell library)
- Raft versus Paxos from MIT Lecture Series
- Raft Features in MongoDB
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,