Tag

PostgreSQL

2 posts

Replication and Replication Lag: Why Users Cannot Read What They Just Wrote After Read/Write Splitting

System Design series Part 4-1: simulating four read routings under lag spikes, Spring read/write splitting, read-your-writes with GTIDs, and stale permission checks.

System Design System Design · Replication · MySQL

Transactions and Isolation Levels: MVCC, Lost Updates, Write Skew, and Spring Transaction Boundaries

System Design series Part 3-4: lost update and write skew in sign-ups; conditional UPDATE, locks, unique constraints; isolation levels by database; Spring transactions.

System Design System Design · Transaction · Isolation Level