{"repo":"RikardoBonilla/DeraineDB","free":true,"listed":false,"github":"https://github.com/RikardoBonilla/DeraineDB","clone":"git clone https://github.com/RikardoBonilla/DeraineDB.git","description":"High-performance, Hardware-First Vector Database engine built in Zig and Go. Sub-millisecond HNSW search with 64-bit metadata filtering and 1.8MB binary footprint.","language":"Zig","stars":21,"topics":["edge-ai","embedded-database","golang","grpc","hnsw","local-ai","machine-learning","rag","vector-database","zig"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"DeraineDB v2.0-stable The 33.7MB Vector Engine that thinks in Microseconds. Why build another vector database? Because empowering local AI shouldn't require downloading gigabytes of Java/Python dependencies or dedicating 8GB of RAM just to start a container. DeraineDB is a hyper-optimized, embedded vector search engine built for the Edge and local RAG (Retrieval-Augmented Generation) applications. It bridges the bare-metal, memory-mapped speed of Zig with the production-grade network orchestration of Go , creating a \"Hardware-First\" storage layer that runs on fractions of a megabyte. --- ⚡ The \"Zero-Bloat\" Proof (Real Benchmarks) We don't just claim to be fast; we measure it at the microsecond level. DeraineDB is natively engineered to handle massive dense vectors (like OpenAI's or Llama 3.2's 1536 Dimensions ) without breaking a sweat. Stress Test Results (1,000 Vectors x 1536 Dimensions): Metric DeraineDB v2.0 Performance :--- :--- Docker Image Size 33.7 MB (Full Engine + API) Live RAM Usage 20.99 MiB Ingestion Latency 1.16 ms / vector HNSW Search (Warm) 0.898 ms (Sub-millisecond!) --- 🏗️ Architectural Marvels DeraineDB abandons bloated traditional database architectures to achieve sub-millisecond latencies through three core innovations: 1. HNSW Graph Segregation (Zig Core) We implemented a strict separation of church and state. Payload data (vectors) lives in memory-mapped .drb files with strict cache-line alignment (6208 bytes per block: 64 bytes of struct header + 6144","default_branch":null,"files":null,"tree":[],"storefront":"/r/RikardoBonilla","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RikardoBonilla/DeraineDB/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}