Infrastructure
RAG that doesn't leak
Most multi-tenant RAG setups filter tenants in Python after the vector search. That gap is where data leaks. I push the tenant boundary into the SQL query plan, before pgvector runs.
FastAPI + SQLAlchemy 2.0 async + PostgreSQL RLS + NVIDIA NIM (nv-embed-v1, llama-3.1-70b). Token streaming over SSE. Isolation enforced at the SQL query layer, provable live.
FastAPIpgvectorNVIDIA NIMRLS
Infrastructure
Cloud bills that don't scale with traffic
If your AWS bill grows linearly with users, you're paying for on-demand when you could be paying for spot. I move stateless workloads to spot and shift them across regions hourly.
Terraform-managed spot fleets, 2-minute drain grace, Caddy at the edge. Stateless workloads move to spot and shift across regions hourly. The connection pool — not CPU — is usually the real bottleneck.
AWSECS FargateSpot FleetTerraformCaddy
Product
Commercial platforms that convert
A medical practice, a restaurant, a salon — they don't care about Kubernetes. They care that the site loads in 0.8s, books appointments without double-booking, and looks premium on a phone.
Next.js 16 App Router + Tailwind CSS + Framer Motion. ISR for content, edge functions for booking, multilingual routing. Live in production for Swiss clients.
Next.js 16Tailwind CSSFramer MotionVercel
Infrastructure
Legacy code that stops costing you hires
Tech debt isn't a code problem — it's an onboarding problem. When new hires take weeks to ship their first PR, the debt is winning. I measure debt in time-to-first-PR, not lines.
jQuery/JSP → React + Spring Boot, feature-flagged strangler pattern, SonarQube complexity as the metric. Phased migration with parallel-run validation behind a feature flag gateway.
ReactSpring BootFeature FlagsSonarQube