Bahtsul Masail: High-Performance RAG for Islamic Jurisprudence
A Production System Achieving Sub-10ms Search and 600+ QPS on Commodity Hardware
Building a retrieval augmented generation system for classical Islamic jurisprudence that serves 3.4M text segments with sub-10ms search latency. Combining PostgreSQL, Meilisearch, and Rust to deliver madhab-aware filtering and hybrid retrieval at scale.