Writing
Notes on building production AI
- 2026-11-26
From 126 Seconds to 4: The Unglamorous Fix Behind a 30x Speedup
How indexed PostgreSQL queries, an SQS and Lambda pipeline, PgBouncer and idempotent retries cut median matching time from about 126 seconds to 4 across 1.24M records.
- 2026-11-23
Building a RAG System That Says “I Don't Know”: Self-Correcting RAG with Llama 3.1 and LangGraph
How to build a citation-grounded RAG pipeline on a local Llama model with relevance grading, query rewriting, groundedness checks and an evaluation suite that measures refusals.