2026-05-08 · 6 min read
Refactoring the Ingest Pipeline
Replace this with the real piece.
Last week I refactored the ingest pipeline. Three things broke on first deploy:
- Replace this with the first thing that broke.
- Replace this with the second.
- Replace this with the third.
EXPLAIN ANALYZE SELECT count(*) FROM events WHERE created_at >= now() - interval '1 day';The lesson: trust EXPLAIN before trusting your intuition.