#system-design

6 results

Explainer

RAG's Five Stages: From Pipeline to Reasoning Retrieval, and the Naive RAG on My Own Site

Over the past two years RAG evolved from a 'linear pipeline' to 'loop-based reasoning'. It maps cleanly to five stages: Naive, Advanced, Modular, Graph, Agentic. The real inflection point is control moving from pipeline to agent — a System 1 → System 2 shift. Looking back at engineer-news's own RAG stack, it's stuck at the Naive edge — so this post also lays out what to fix next.

Deep Dive

Building a Real RAG: 5 Infra Lessons from InfiniFlow's 2024 Year-in-Review

The previous post zoomed out for a five-stage panorama of RAG. This one zooms in on the five infra lessons any real RAG has to face: document ingestion, contextualized chunking, three-lane hybrid search, tensor reranker, and GraphRAG's semantic gap. Each lesson is checked against engineer-news's current stack, ending with a priority list for a personal site.

Deep Dive

Engineering Lessons from Building Cursor: From VSCode Fork to $500M ARR

Cursor is an AI-powered code editor by Anysphere, built by four MIT graduates, that hit $500M ARR within two years of launch. This article distills the real engineering lessons they've shared publicly: why they forked VSCode instead of building an extension, how Tab prediction's latency engineering works, and the hard production lessons from shipping Agent Mode.