Study Logs
Notes on backend engineering and lessons from production.
Topics
Recent writing
No notes here yet.
-
Idempotency beyond the request
What happens when a retry lands after the work completed but before the response arrived?
-
Where did the timeout come from?
Work backward from the first deadline that actually expired.
-
Reading a query plan from the bottom up
Find the earliest estimate that diverges from the rows the database actually saw.
-
What a worker lease actually protects
A worker can resume after its lease expires. The write path needs to account for that.