Writing
All posts
Notes on RAG, auth, and production engineering.
- Feb 2026#RAG#AI#Vector DB#MCP
Building RAG Systems That Scale
How we improved citation accuracy by 90% and retrieval by 70% using vector DB logic, post-hoc processing, and Redis-backed MCP pagination in production.
Read more - Jan 2026#Better Auth#NextAuth#Migration#PostgreSQL
Zero-Downtime Auth Migrations
A step-by-step account of migrating a live production app from NextAuth to Better Auth with zero downtime and zero data loss.
Read more - Dec 2025#tRPC#Security#E2B#Sandbox
tRPC Security & E2B Sandboxing
Refactored tRPC infrastructure with zip-bomb protection and E2B sandboxing. Implemented Redis-backed pagination for MCP that boosted client agent accuracy by 90%.
Read more - Nov 2025#Billing#Vercel AI SDK#Recharts#SaaS
Shipping Billing & AI Analytics in Under 3 Weeks
Solo-led billing infrastructure and a full AI chat system with dynamic interactive charts. Built with Vercel AI SDK and Recharts for a production SaaS client.
Read more