3 Stateful Workloads

appalachian folk anti-folk, drill and bass balkan brass band · 3:11

Listen on 93

Lyrics

[Verse 1]
Three titans guard your data when the zones divide
CockroachDB survives the chaos, writes across the wide
YugabyteDB spanning continents with grace
While Vitess shards the burden, puts each piece in place
Multi-region masters, no single point of blame
When networks split like lightning, they keep playing the game

[Chorus]
Stateful workloads dancing, never miss a beat
Cockroach, Yugabyte, Vitess can't be beat
BDR and Citus join the PostgreSQL suite
When conflict resolution makes the puzzle complete
Split-brain detection, prevention in the flow
Data residency decides which way the packets go

[Verse 2]
PostgreSQL awakens with BDR in tow
Bi-directional rivers where the updates flow
Citus spreads the tables like a deck of cards
Active-active magic healing battle scars
But conflicts arise when timestamps collide
Vector clocks and versioning become your guide

[Chorus]
Stateful workloads dancing, never miss a beat
Cockroach, Yugabyte, Vitess can't be beat
BDR and Citus join the PostgreSQL suite
When conflict resolution makes the puzzle complete
Split-brain detection, prevention in the flow
Data residency decides which way the packets go

[Bridge]
When the network severs, two kings claim the throne
Split-brain paranoia chills you to the bone
Quorum saves the kingdom, majority takes control
Witness nodes and fencing keep you in your role
GDPR whispers "data cannot roam"
Sovereignty constraints keep information home

[Verse 3]
Last-write-wins is gambling with your precious state
CRDT structures calculate a better fate
Consensus algorithms vote on every change
Raft and Paxos protocols keep order in the range
Geo-fencing policies draw invisible lines
While eventual consistency realigns the signs

[Chorus]
Stateful workloads dancing, never miss a beat
Cockroach, Yugabyte, Vitess can't be beat
BDR and Citus join the PostgreSQL suite
When conflict resolution makes the puzzle complete
Split-brain detection, prevention in the flow
Data residency decides which way the packets go

[Outro]
Three guardians standing when the regions fall apart
Distributed databases, each playing their part

← 2 Stateless Workloads | 4 Kafka-Specific Active-Active Patterns →