Let's Build a Distributed File System
summary
A minimal distributed file system is implemented in Python: a master holds file→block maps, three remote minions store blocks and forward puts, and clients use RPC between master and minions to read/write. Demo uses block size 100B and replication factor 2, places blocks randomly across cloud hosts, reads succeed and survive one minion failure but fail if two replicas vanish. Notes cover journaling, HDFS/HiFS design choices and operational limits like metadata single‑point risk and higher latency.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:52Agenda
- 2:36What is a filesystem
- 6:24What does a filesystem look like
- 11:26Data blocks
- 14:08Read example
- 22:19Distributed file system
- 29:14File system
- 31:52Minions
- 35:08Demo
- 40:25What can go wrong
- 44:18Limitations
related talks
34mDistributed systems 102
17mSingularFS: A Billion-Scale Distributed File System Using a Single Metadata Server
30mDistributed system design
54mBuilding a Distributed Datastore in 8 Weeks
45mA Distributed File System for Secure P2P Applications
43mBuild Your Own Distributed System Using Go
22mWhy Are Distributed Systems so Hard?
52mThe Computer Science behind a modern distributed data store
