Skip to content
Mahavir

Writing

Notes from things I've shipped. No tutorials.

Evaluation gates: keeping hallucinations out of production LLM products

Demos are easy. Production is a different sport. How we gate LLM answers with retrieval scoping, mandatory citations, confidence evaluation, and human-in-the-loop review.

Cutting cloud spend 60% by self-hosting Supabase on Aurora Serverless

A build-vs-buy story: when managed services quietly become your biggest line item, and how self-hosting Supabase on Aurora Serverless v2 gave us Postgres + Auth back at 60% less.

From 4 seconds to 100ms: finding the real bottleneck with production traces

The database wasn't slow — one stored procedure was. Why guessing at performance almost always loses to production traces, and what the trace actually showed.

An org-wide secure deployment platform with Cloudflare Zero Trust + Coolify

When AI tools let anyone ship an app in a day, 'no' stops working. How we built guardrails: Cloudflare Zero Trust for access, Coolify for deployment, audit trails for trust.

Async-first engineering: 6+ years remote with US and EU clients

Remote work isn't a perk to manage around — it's an engineering discipline. What six years of direct B2B work across timezones taught me about writing, ownership, and meetings.

Replatforming to headless WordPress + NextJS without breaking the editors

CFR.org moved off legacy Drupal while the editorial team kept publishing every day. The trick: custom Gutenberg-mapped rendering blocks and a Python migration pipeline.