AI System Design - data-engineering
#01 Data Engineering

Build a Chunking and Embedding Pipeline for 100M Documents Premium

A blueprint for a backfill-and-incremental pipeline that chunks, deduplicates, and embeds 100 million documents into 420 million vectors, sustaining 1,000 embeddings per second during backfill and a 15 minute freshness SLA in steady state.

Read
#02 Data Engineering

Build a Citation Tracing System for RAG Responses Premium

Design a citation tracing system that maps every sentence of a RAG answer back to its source chunk across 50M documents, holding 95% attribution accuracy at under 200ms added latency.

Read
#03 Data Engineering

Build a Conversational Memory Store for Long-Running RAG Sessions Premium

Design a tiered memory store that keeps 30 million active sessions coherent across 400-turn conversations, packing the right 8,000 tokens of history into every prompt while holding p99 memory retrieval under 40ms.

Read
#04 Databases

Build a Cross-Modal Embedding Store for Text, Image, and Video Premium

Design a cross-modal embedding store over 2.03 billion vectors spanning 400M text chunks, 1.2B images, and 1.8M videos, serving 2,500 queries per second at 112ms p99 with cross-modal nDCG@10 of 0.635.

Read
#05 Performance

Build a Data Loader Pipeline That Prevents GPU Starvation Premium

Build a data loader for 128 H100 GPUs consuming 38,460 images per second: sharded reads, hedged fetches, bounded prefetch queues and async pinned copies lift GPU utilization from 77% to 99% and save $126,600 per 21-day run.

Read
#06 Data Engineering

Build a Document Freshness and Re-Embedding Pipeline Premium

Design a pipeline that tracks change across 50 million indexed documents and re-embeds 2 million of them per day, keeping p99 index staleness under 15 minutes without a full reindex.

Read
#07 Databases

Build a Knowledge Graph-Augmented RAG System Premium

A blueprint for augmenting RAG with a property graph of 5 million entities and 40 million relationships extracted from 2 million documents, fusing graph traversal with vector search to answer multi-hop questions at 200 requests/second under a 400ms p99 retrieval budget.

Read
#08 Data Engineering

Build a Multi-Hop RAG System for Complex Question Answering Premium

A blueprint for a multi-hop RAG system that decomposes complex questions into a dependency-ordered sub-question DAG, retrieves and re-ranks evidence per hop, and synthesizes a cited answer across 3 million documents at 150 requests per second under a 3.5 second p99 budget.

Read
#09 Data Engineering

Build a Production RAG Pipeline with Hybrid BM25 + Dense Retrieval Premium

A blueprint for a hybrid retrieval pipeline that fuses BM25 keyword search with dense HNSW vector search across 200 million chunks, serving 800 queries per second at p99 retrieval latency under 120ms and recall at 50 above 0.92.

Read
#10 Data Engineering

Build a Query Rewriting and Expansion Engine for RAG Premium

Design a query rewriting and expansion engine that turns 12,000 ambiguous queries per second into fused multi-index retrievals, lifting recall@8 from 0.62 to 0.89 while adding under 45ms to the retrieval path.

Read