Field Notes

Short notes on software, distributed systems and the occasional hike.

Idempotency keys in practice

Retries are inevitable. A small table keyed by request ID and a TTL covers most payment-style APIs without distributed locks.

Reading Go escape analysis output

Running go build -gcflags=-m on a hot path often reveals one interface conversion responsible for most allocations.

Mount Baldy in October

Cool air, clear skies, and the ski hut trail was almost empty by 8 a.m.