Writing

Engineering notes

Practical decisions and reproducible examples.

Engineering notes

Building agents to study advanced backend architecture

A complete study session with evidence, competing hypotheses, and a decision.

2 min read · Read article
Engineering notes

Applying backend engineering habits to AI systems

Baselines, explicit tool boundaries, and failure paths for LLM-enabled services.

2 min read · Read article
Engineering notes

What a PDF generation pipeline taught me about batch processing

Recoverable work items, retries, and the difference between throughput and a usable batch.

2 min read · Read article
Engineering notes

Measuring Firestore cost per operation

Separate traffic growth from changes in operation efficiency.

1 min read · Read article
Engineering notes

The harness matters more than a clever prompt

A prompt revision, evidence contract, and evaluation loop for engineering agents.

2 min read · Read article
Engineering notes

Safe data retention in large PostgreSQL tables

Define what must remain before choosing a deletion strategy.

1 min read · Read article
Engineering notes

Choosing a reporting database is a workload decision

Compare query shape, concurrency, freshness, and operating cost against the same requirements.

2 min read · Read article
Engineering notes

Designing a shared answer-sheet processing service

Separate a reusable processing core from app workflows and squad dependencies.

1 min read · Read article
Engineering notes

Why adding workers can reduce throughput

Find a concurrency limit using useful completion rate and dependency waits.

1 min read · Read article