Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Hows and Whys of a Distributed SQL Database

Strange Loop Conference via YouTube

Overview

Explore the evolution and design principles of distributed SQL databases in this 42-minute conference talk from Strange Loop. Delve into the history of database technologies, from primitive systems to modern distributed SQL engines. Discover how these new systems combine the transactional consistency of traditional relational databases with the scalability and availability of NoSQL solutions. Examine the key design choices behind CockroachDB, an open-source distributed SQL database, including dynamic sharding, consensus protocols, and lock-free transactions. Learn about data distribution techniques, replication strategies, and the intricacies of distributed consensus using Raft. Gain insights into transaction management, conflict resolution, and the challenges of maintaining consistency in a distributed environment. Understand the motivations behind the development of distributed SQL databases and their potential impact on future database design and implementation.

Syllabus

Introduction
History
Primitive databases
The relational model
Objectoriented databases
Database sharding
No sequel databases
Distributed sequel databases
Why these systems are being built
The two primary systems
The question of how
Disclaimer
Data Distribution
Order Preserving
Range Indexing
Range Scan
When to Split
When to Up Replicate
Primary Secondary Replication
Eventually Consistent
Distributed Consensus
Raft
When things dont go well
Engineering complications
Transactions
Consistency
Atomicity
MVCC
No sequel transactions
Distributed sequel
Starting a transaction
Conflicts
Write Conflict
Detect Conflict
Push or abort
Intent
Summary
Outro

Taught by

Strange Loop Conference

Reviews

Start your review of The Hows and Whys of a Distributed SQL Database

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.