Failure after Failure Building Bigcouch, Block by Block
summary
Company builds Bigcouch fork of CouchDB to add clustering, starts by reusing the Erlang dynamite implementation of Dynamo then strips and rewrites parts it can't trust. Engineering adds an abstraction called fabric and a custom RPC layer Rexy; live code upgrades are implemented for high‑capacity customers. Running on EC2 exposes severe EBS performance and compaction problems that cause mass slowdowns; 12,000 support failures surface during early deployments. Open‑core model keeps an I/O queuing and chained MapReduce features closed.
AI-written summary · about
chapters (23)
- 0:00Introduction to Bigcouch
- 3:32Admitting repeated failures
- 6:28Starting Bigcouch project
- 7:32Choosing Dynamo prior art
- 9:01Dangers of prior art
- 10:05First Bigcouch subproject
- 10:46RPC with Erlang
- 11:52Creating Rexy RPC system
- 12:34Failure of Scrum iteration
- 13:15Introducing Fabric layer
- 13:58Amazon EC2 pitfalls
- 15:44EBS storage failures
- 16:27Compaction challenges
- 17:28Trusting Apache too much
- 18:29Monitoring distributed systems
- 20:40Holes in monitoring
- 21:23Two user bases dilemma
- 22:28Large user demands
- 23:34Small user troubles
- 25:41Recap and lessons learned
- 27:05Closing remarks
- 28:18Q&A on open core features
- 30:27AWS alternatives and decisions
