
Designing RAG architecture for 10 million documents
Building RAG for 1,000 docs is a weekend project. At 10 million, it's a whole different story. In this article we break down everything to help you design one.
Moyez Rabbani
Hi, I'm Moyez — a Software Engineer from Kolkata, India with a genuine curiosity for the deeper side of Computer Science. I don't just use tools, I want to understand how they work under the hood.
Over the past 2.5 years, I've built end-to-end software that works well and looks even better. I care about design and user experience as much as I care about the code behind it — good software should feel effortless to use.
When I'm not coding, you'll find me reading or at the gym. I like building things, staying sharp, and never sitting still for too long.
Featured writing first, then the newest notes on engineering, design, and building useful products.

Building RAG for 1,000 docs is a weekend project. At 10 million, it's a whole different story. In this article we break down everything to help you design one.

A step-by-step walkthrough of transformer architecture that follows one sentence from raw text to a translated output — with the attention math worked out by hand, not hand-waved.

WTF is an Agent Harness or Loop Engineering? Stop drowning in AI buzzwords. Here's a no-BS breakdown of how AI agents actually use memory and execute tasks.
Leave a message here, or send an email at moyezrabbani.work@gmail.com