Notes on graceful shutdown in long-running services
Draining connections sounds trivial until you have keep-alive clients, background workers and a deploy pipeline that does not wait. Here is the checklist I ended up with.
Draining connections sounds trivial until you have keep-alive clients, background workers and a deploy pipeline that does not wait. Here is the checklist I ended up with.
After three years of collecting hardware I consolidated everything onto one low-power machine. What worked, what did not, and the power bill before and after.
EXPLAIN QUERY PLAN output is terse, but a handful of patterns cover most of what you will see in practice.
Not everything here has to be about computers. Some photos and a few notes on planning a hut-to-hut route.