FKFarhan Khojainunderdog.hashnode.dev·Aug 23, 2025 · 22 min readHow I Cut AWS RAG System Response Time from 30 Seconds to 100msThe Pain Point That Changed Everything Picture this: You've just built what you think is an elegant RAG (Retrieval Augmented Generation) system using AWS Bedrock, OpenSearch Serverless, and S3. The architecture looks clean on paper. Then you hit the ...00
FKFarhan Khojainunderdog.hashnode.dev·Aug 5, 2025 · 4 min readBuilding NeuroStash - VIRaw thoughts from the trenches of building better retrieval systems The Problem That Kept Me Up at Night You know that feeling when your RAG system returns technically correct but completely useless chunks? Yeah, I was there. My traditional text spl...00
FKFarhan Khojainunderdog.hashnode.dev·Jul 30, 2025 · 5 min readBuilding NeuroStash - VCustom Exception Handling: From Chaos to Clean API Responses In Part IV, I built a bulletproof document management system with state machines and atomic operations. But there was still one glaring problem: terrible error messages. When users send ma...00
FKFarhan Khojainunderdog.hashnode.dev·Jul 28, 2025 · 7 min readBuilding NeuroStash - IVIn Part III, I covered the RBAC system that controls who can do what in NeuroStash. Now comes the exciting part - building the core functionality that users actually interact with: document management and knowledge base creation. This isn't just abou...00
FKFarhan Khojainunderdog.hashnode.dev·Jul 25, 2025 · 6 min readBuilding NeuroStash - IIIIn my previous post, I walked through building a robust authentication system for NeuroStash using JWT tokens, API keys, and AWS KMS encryption. Today, I'm diving deeper into what happens after authentication - how I designed role-based access contro...00