Storage, Redis & Caching
Streaming replication
Streaming replication ships WAL to standby servers.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Storage, Redis & Caching
- DeadlockBeginner · 4 min
Deadlock occurs when transactions hold cyclic blocking dependencies.
- Connection poolBeginner · 4 min
Connection pool limits reusable database sessions.
- Logical replicationBeginner · 4 min
Logical replication replicates published row changes.
- Point-in-time recoveryBeginner · 5 min
Point-in-time recovery replays WAL from a backup to a target moment.
- Replication slotBeginner · 4 min
Replication slot retains WAL until consumed by a subscriber.
- Caching: the cache-aside patternIntermediate · 5 min
How 36 milliseconds of database work per page view turns into one fill per product every five minutes, and the write order that stops the cache from serving old prices.