Lesson · 7 pages · about 5 min
Cache invalidation
Delete the cached key after the database commits, deliver that delete reliably, and fence the race that refills an old value.
Words you’ll learn
- Cache
- PostgreSQL
- Outbox
- Event
- Commit
- Row
- Redis
- API
- Database
- Stale read
Page by page