Introducing Distributed Databases
summary
Argues a single-node backend is dying, shows concrete options and tradeoffs: 16-node cluster demo of Crate reports 100% replication then re-replication to 100% after a node restart (minutes), Crate layers SQL on top of Lucene/Elasticsearch and exposes blob and full‑text search but is eventually consistent and skips transactions. Compares MongoDB, Cassandra (keyspaces, no GROUP BY), Couchbase and RethinkDB using mapreduce or SQL-like queries, mentions CockroachDB ambitions, and demos quick scaling with Docker containers (multiple local nodes). Recommends distributed DBs for semi-structured, high-volume analytics, not strong transactional systems.
AI-written summary · about
chapters (29)
- 0:00Introduction and speaker background
- 1:10When single databases aren't enough
- 2:11From monoliths to distributed systems
- 3:56What is sharding and partitioning
- 4:59Why distributed databases emerged
- 5:41Microservices and data consistency
- 6:22Selecting open-source distributed databases
- 7:48Core principles of distributed databases
- 9:52Traditional master-slave vs distributed setups
- 11:43Live demo attempt with CrateDB
- 15:17How CrateDB handles data replication
- 16:25Ensuring data consistency and availability
- 17:31Accessing distributed databases with SQL
- 19:18GitHub archive data example
- 21:24MongoDB overview and query example
- 23:30Cassandra overview and query example
- 24:34RethinkDB and MapReduce explained
- 26:22What is MapReduce in distributed systems
- 28:27Couchbase overview and MapReduce demo
- 29:30CockroachDB promises and challenges
- 30:11ArangoDB and transaction support
- 31:13Comparing distributed database options
- 31:34Distributed databases with containers
- 32:37Setting up CrateDB in Docker
- 35:48Scaling with Docker containers
- 37:52Service discovery in distributed systems
- 39:56When to use distributed databases
- 41:42ORM mapping and infrastructure options
- 42:54Q&A session starts
