Skip to content

Writing.

Field notes from building real systems.

Python, Go, AI infrastructure, and distributed systems. What worked, what broke, and what I learned along the way. Also available via the RSS feed.

12 essaysNewest first

When to Use an LLM Agent vs Plain Code

Agents add latency, non-determinism, and real cost per run — so plain code is the default. Here's the decision framework I actually use.

AI infrastructure
5 min read

A Go Event Pipeline at 100k Events/Day, Sub-200ms

How we built a serverless SQS → Lambda → DynamoDB pipeline in Go that handles 100k events a day at sub-200ms end-to-end latency with a 99.99% event delivery rate — and what broke along the way.

Distributed systems
6 min read

Context Engineering Is the New Prompt Engineering

Prompt engineering tunes the question; context engineering controls what tokens the model even sees — and the job is keeping that set ruthlessly small.

AI infrastructure
5 min read

Routing Between LLMs Without Blowing the Budget

How I built a routing layer for a bank's GenAI chatbot that cut resolution time ~30% while keeping model spend controlled — and when not to bother.

AI infrastructure
5 min read