Retries That Do Not Take Your Service Down: Backoff With Jitter in 40 Lines
A plain retry loop turns one slow dependency into an outage. Here is exponential backoff with full jitter in Python, with a test you can run.
Notes from a working backend engineer
A plain retry loop turns one slow dependency into an outage. Here is exponential backoff with full jitter in Python, with a test you can run.
Six years of pager duty, boiled down: what to set up before the shift, what to do at 3 a.m., and why asking for help is the job.
We ran a broker for a workload of 40 jobs a minute. Tidepool is the Postgres-backed queue I built instead, and the one query that makes it safe.
Marlin replaces my Makefiles with a plain file of named commands. Six months in: what I like, what bit me, and who should skip it.
A query slow for no reason turned out to be a type mismatch. EXPLAIN shows the cast, and one line fixes it.
You can hand git bisect a script and walk away. It narrows hundreds of commits down to one on its own.
Most design docs get skimmed and approved. A few change the plan. What the second kind does in its first page, and how to write it.
Stop answering “works on my machine.” A dev container you can build with one command and throw away without regret.
Quillfish checks a 400,000-line repository in under two seconds. It also has opinions you cannot turn off, and that is half its charm.
My safety line at the top of every script has three gaps. A short tour of the places a bash script still keeps going after an error.
34 demos Features Download (Free) Docs