api
Dispatch
File uploads look simple until production traffic arrives. The naive single-POST design fails on large files, on unreliable mobile networks, on duplicate uploads, on partial failures. The patterns that scale handle resumability, deduplication, validation, and bounded storage cost.
postgres
Dispatch
pg_dump backs up one database. pg_dumpall backs up the whole cluster: every database plus roles, tablespaces, and cluster-level settings. The difference matters in disasters where the cluster itself, not just the data, needs to be reconstructed.
history
Dispatch
The catapult is one of the few major military technologies for which a complete invention date and inventor name are recorded. The first catapults were built around 399 BCE in the workshops of Dionysius I of Syracuse, and the engineering tradition they started ran continuously for 1800 years.
postgres
Dispatch
CREATE INDEX takes an ACCESS EXCLUSIVE lock for the duration of the build. On large tables that means minutes to hours of blocked writes. CREATE INDEX CONCURRENTLY trades roughly double the build time for non-blocking behavior, and the trade is almost always worth it in production.
api
Dispatch
Most webhook providers send every event of a subscribed type to every subscriber. Customer-side filtering wastes bandwidth and forces customers to write their own filter logic. Send-time filtering trades server complexity for substantial customer-side savings, and the trade is usually worth it.
api-design
Dispatch
Customers integrating with your webhooks need to test their receiver before production traffic arrives. A test-endpoint API surface that lets them trigger arbitrary events on demand turns webhook integration from a guessing game into a verifiable workflow.
postgres
Dispatch
ALTER SYSTEM is the SQL interface to Postgres configuration. It writes to postgresql.auto.conf, takes effect after a reload, and survives restarts. The mechanics are simple; the operational discipline around it is what matters.
history
Dispatch
The crossbow is one of the rare weapons that successive generations of authority tried to ban while continuing to use. It enabled a peasant to kill an armored knight, which was politically inconvenient even when militarily useful. The mechanics, the politics, and the slow displacement.
postgres
Dispatch
SECURITY DEFINER functions let a function run with the privileges of its owner rather than its caller. This is deliberate privilege escalation, useful for tightly-controlled operations and dangerous when written carelessly. The mechanics are simple; the failure modes are not.
api
Dispatch
API responses with nested resources can either embed the full child or return a reference the client follows separately. The decision shapes latency, payload size, and customer integration complexity. The right answer is usually neither default.
history
Dispatch
The sewing needle is one of the oldest continuously-used human tools. It predates pottery by 30,000 years, predates agriculture by 35,000 years, and outlasted every empire that produced it. The 60,000-year arc of needle technology is a study in how foundational tools can be both ancient...
postgres
Dispatch
Prepared statements skip parsing and planning on repeated execution. They are also the source of one of the most surprising performance regressions in production Postgres: the generic-plan trap that kicks in after five executions and can make subsequent queries 100x slower.