Skip to content

Instantly share code, notes, and snippets.

@wenhuizhang
Last active March 25, 2025 10:59
Show Gist options
  • Save wenhuizhang/3e6bba13171cce042b51 to your computer and use it in GitHub Desktop.
Save wenhuizhang/3e6bba13171cce042b51 to your computer and use it in GitHub Desktop.
distributed systems readings

#Course List

##Systems

Cornell CS 614 - Advanced Course in Computer Systems - Ken Birman teaches this course. The readings cover more distributed systems research than is typical (which I am in favour of!). In fact, there's barely anything on traditional internal OS topics like filesystems or memory management. There's some worthwhile commentary at the bottom of the page.

Princeton COS 518 - Advanced Operating Systems - short and snappy reading list of two papers per topic, covering some interesting stuff like buffering inside the operating system, and L4.

Stanford CS240 - Advanced Topics in Operating Systems - an interesting and concise set of readings. A presentation on Firefox internals is a course-specific highlight.

Harvard CS264 - Peer-to-Peer Systems - No notes but a useful collection of papers surveying from CAN and Chord to Skype.

CSE 552 - Distributed Systems - University of Washington graduate distributed systems course. Thoughtfully selected readings.

CMU 15-712 - Advanced and Distributed Operating Systems

UIUC CS 525 - Advanced Distributed Systems - long list of readings, drawn mostly from the last ten years or so, focusing on applications.

Cornell CS6452 - Datacenter Networks and Services - networking focused - but by no means exclusively.

##Databases

Brown CSCI 2270 - Advanced Topics in Database Management - no notes but a good set of readings. Does a good job of categorising the last ~15 years of distributed and parallel database research which has moved away from shared-something RDBMSs.

##Distributed Algorithms

MIT 6.852 - Distributed Algorithms - Goodish lecture slides, detailed but manageable set of readings and some homework problems. Lectured by Professor Lynch at MIT, who literally wrote the book on the subject.

Distributed Algorithms Lecture Notes - Very readable set of lecture notes on distributed algorithms, for a course given in 1993 at the Technion in Israel (I think).

MIT 6.885 - Distributed Algorithms for Mobile Wireless Ad-Hoc Networks - One of the only courses on this particular niche subject. Taught simultaneously by Jennifer Welch and Nancy Lynch. Notes are very good, reading lists is very comprehensive and there are also some good handouts!

##Data Structures and Algorithms

MIT 6.854J (OCW) - Advanced Algorithms - A good first course after familiarity with Cormen et. al. is achieved. Topics include competitive queues, splay trees, six lectures on flow algorithms, linear programming and computational geometry. Lecturer's own notes are sparse, but the scribed notes are very useful.

MIT 6.851 - Advanced Data Structures - supercedes the below course I think, both taught by the legendary Erik Demaine. Worth keeping the below one around as well, since the notes are slightly different as are the topics covered.

MIT 6.897 - Advanced Data Structures - good coverage of advanced topics including dynamic graphs, succinct data structures and data structures for integers. Scribe notes are excellent, lecturer's own hand-written notes less so.

Chicago CS369E - Expanders in Computer Science - graduate level course on expander graphs and their applications to computer science. Notes are excellent.

Harvard CS225 - Pseudorandomness - good scribe notes, covers randomized algorithms, quite a lot on expander graphs etc.

Yale 500A - Spectral Graph Theory and its Applications - slightly rambling but clear and interesting lecturer written notes.

UIUC CS573: Algorithmic Game Theory - good scribe notes and a pointer to a massive online text book.

Cornell CS683 - Advanced Algorithms - detailed web page, notes and readings. Focus is on approximation algorithms, linear programming and randomisation.

Wisconsin CS787 - Advanced Algorithms - decent notes and readings. Linear programming, network flows, approximation and randomisation, plus some interesting stuff on online algorithms.

UIUC CS 373 - Combinatorial Algorithms - a senior undergraduate course in mainly advanced topics from CLRS with outstanding notes.

##Discrete Mathematics and Probability

MIT 6.042J (OCW) - Elementary discrete maths, including graph theory and some combinatorics. Lecture slides are available, and good, but the real meat is in the readings.

#Paper List

##Thought Provokers

Ramblings that make you think about the way you design. Not everything can be solved with big servers, databases and transactions.

Harvest, Yield and Scalable Tolerant Systems- Real world applications of CAP from Brewer et al

On Designing and Deploying Internet Scale Services - James Hamilton

Latency Exists, Cope! - Commentary on coping with latency and it's architectural impacts

Latency - the new web performance bottleneck - not at all new (see Patterson), but noteworthy

The Perils of Good Abstractions- Building the perfect API/interface is difficult

Chaotic Perspectives - Large scale systems are everything developers dislike - unpredictable, unordered and parallel

Website Architecture - A collection of scalable architecture papers from various of the large websites

Data on the Outside versus Data on the Inside - Pat Helland

Memories, Guesses and Apologies - Pat Helland

SOA and Newton's Universe - Pat Helland

Building on Quicksand - Pat Helland

Why Distributed Computing? - Jim Waldo

A Note on Distributed Computing - Waldo, Wollrath et al

Stevey's Google Platforms Rant - Yegge's SOA platform experience

##Amazon

Somewhat about the technology but more interesting is the culture and organization they've created to work with it.

A Conversation with Werner Vogels - Coverage of Amazon's transition to a service-based architecture

Discipline and Focus - Additional coverage of Amazon's transition to a service-based architecture

Vogels on Scalability

SOA creates order out of chaos @ Amazon

##Google

Current "rocket science" in distributed systems.

MapReduce

Chubby Lock Manager

Google File System

BigTable

Data Management for Internet-Scale Single-Sign-On

Dremel: Interactive Analysis of Web-Scale Datasets

Large-scale Incremental Processing Using Distributed Transactions and Notifications

Megastore: Providing Scalable, Highly Available Storage for Interactive Services - Smart design for low latency Paxos implementation across datacentres.

Spanner - Google's scalable, multi-version, globally-distributed, and synchronously-replicated database.

Photon - Fault-tolerant and Scalable Joining of Continuous Data Streams. Joins are tough especially with time-skew, high availability and distribution.

Mesa: Geo-Replicated, Near Real-Time, Scalable Data Warehousing - Data warehousing system that stores critical measurement data related to Google's Internet advertising business.

##eBay

Interesting they dumped most of J2EE and use a lot of db partitioning. Check out their site upgrade tool as well.

SD Forum 2006

##Consistency Models

Key to building systems that suit their environments is finding the right tradeoff between consistency and availability.

CAP Conjecture - Consistency, Availability, Parition Tolerance cannot all be satisfied at once

Consistency, Availability, and Convergence - Proves the upper bound for consistency possible in a typical system

CAP Twelve Years Later: How the "Rules" Have Changed - Eric Brewer expands on the original tradeoff description

Consistency and Availability - Vogels

Eventual Consistency - Vogels

Avoiding Two-Phase Commit - Two phase commit avoidance approaches

2PC or not 2PC, Wherefore Art Thou XA? - Two phase commit isn't a silver bullet

Life Beyond Distributed Transactions - Helland If you have too much data, then 'good enough' is good enough - NoSQL, Future of data theory - Pat Helland

Starbucks doesn't do two phase commit - Asynchronous mechanisms at work

You Can't Sacrifice Partition Tolerance - Additional CAP commentary

Optimistic Replication - Relaxed consistency approaches for data replication

##Theory

Papers that describe various important elements of distributed systems design.

Distributed Computing Economics - Jim Gray

Rules of Thumb in Data Engineering - Jim Gray and Prashant Shenoy

Fallacies of Distributed Computing - Peter Deutsch

Impossibility of distributed consensus with one faulty process - also known as FLP [access requires account and/or payment, a free version can be found here]

Unreliable Failure Detectors for Reliable Distributed Systems. A method for handling the challenges of FLP

Lamport Clocks - How do you establish a global view of time when each computer's clock is independent

The Byzantine Generals Problem

Lazy Replication: Exploiting the Semantics of Distributed Services

Scalable Agreement - Towards Ordering as a Service

Scalable Eventually Consistent Counters over Unreliable Networks - Scalable counting is tough in an unreliable world

##Languages and Tools

Issues of distributed systems construction with specific technologies.

Programming Distributed Erlang Applications: Pitfalls and Recipes - Building reliable distributed applications isn't as simple as merely choosing Erlang and OTP.

##Infrastructure

Principles of Robust Timing over the Internet - Managing clocks is essential for even basics such as debugging

##Storage

Consistent Hashing and Random Trees

Amazon's Dynamo Storage Service

##Paxos Consensus

Understanding this algorithm is the challenge. I would suggest reading "Paxos Made Simple" before the other papers and again afterward.

The Part-Time Parliament - Leslie Lamport

Paxos Made Simple - Leslie Lamport

Paxos Made Live - An Engineering Perspective - Chandra et al

Revisiting the Paxos Algorithm - Lynch et al

How to build a highly available system with consensus - Butler Lampson

Reconfiguring a State Machine - Lamport et al - changing cluster membership

Implementing Fault-Tolerant Services Using the State Machine Approach: a Tutorial - Fred Schneider

Other Consensus Papers

Mencius: Building Efficient Replicated State Machines for WANs - consensus algorithm for wide-area network

##Gossip Protocols (Epidemic Behaviours)

Epidemic Routing Bibliography

How robust are gossip-based communication protocols?

Astrolabe: A Robust and Scalable Technology For Distributed Systems Monitoring, Management, and Data Mining

Epidemic Computing at Cornell

Fighting Fire With Fire: Using Randomized Gossip To Combat Stochastic Scalability Limits

Bi-Modal Multicast

ACM SIGOPS Operating Systems Review - Gossip-based computer networking

SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol

##P2P

Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications

Kademlia: A Peer-to-peer Information System Based on the XOR Metric

Pastry: Scalable, decentralized object location and routing for large-scale peer-to-peer systems

PAST: A large-scale, persistent peer-to-peer storage utility - storage system atop Pastry

SCRIBE: A large-scale and decentralised application-level multicast infrastructure - wide area messaging atop Pastry

@wugouzi
Copy link

wugouzi commented Feb 2, 2024

nice list, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment