Outline: (1) why a cluster, and what it does not solve; (2) the WAL and streaming replication; (3) async vs sync, CAP; (4) the compose project; (5) experiments: lag, routing, sync commits; (6) failover by hand, lost writes, pg_rewind; (7) why automation needs consensus.