Back to home

Notes from production.

Deep dives on RAG isolation, FinOps, and backend work that makes SaaS scale. Written from real engagements, not tutorials.

Featured
AI / RAG·Jul 2026

Eliminating Cross-User Data Leakage in Multi-Tenant RAG Pipelines

Why most multi-tenant RAG implementations leak data, and how enforcing per-user isolation at the SQL query layer — before vector similarity searches — closes the gap completely. Deep dive into pgvector + PostgreSQL RLS with code samples from a production FastAPI backend.

12 min readRead article