MKMudassir Khaninmudassirworks.hashnode.dev·15h ago · 12 min readRAG Retrieval Latency in Production: Where the Time Actually GoesIf you have shipped a retrieval augmented generation system and users keep telling you it feels slow, the most useful thing you can do is stop treating RAG retrieval latency as a single number. It is 00
MKMudassir Khaninmudassirworks.hashnode.dev·Aug 21 · 9 min readSession vs JWT in Next.js 16: What Changed and What Most Guides Get WrongEvery time someone asks whether to use sessions or JWT for authentication in Next.js, the honest answer is "it depends on what you're building," and then the conversation stalls because most guides ne011
MKMudassir Khaninmudassirworks.hashnode.dev·Aug 19 · 9 min readContext Engineering for RAG: How to Fill the Context Window With the Right InformationMost RAG systems that disappoint in production do not fail at retrieval. They fail at assembly. The retriever returns something plausible, the prompt gets stuffed with all of it, and the model answers21K
MKMudassir Khaninmudassirworks.hashnode.dev·Aug 16 · 8 min readConnecting Claude Code to your tools with MCP: a production integration guideBy the end of this guide you will have a working MCP server registered inside Claude Code, and you will understand the three transport options well enough to pick the right one for your own setup. Thi00
MKMudassir Khaninmudassirworks.hashnode.dev·Aug 14 · 10 min readLiteLLM vs OpenRouter: When to Self Host Your LLM Gateway and When Not ToThe LiteLLM vs OpenRouter question looks like a feature comparison and is really an operating model choice. One is a proxy you run inside your own infrastructure. The other is a managed endpoint you c00