V VectraDB

STORAGE & EXECUTION

Four layers engineered for zero-tail-latency retrieval.

VectraDB decouples compressed graph traversal from full-precision vector storage so clusters scale beyond DRAM limits without sacrificing recall.

L0 · Ingestion & WAL

Append-Only Segment Log

Incoming vector batches commit to a replicated write-ahead log before asynchronous HNSW graph insertion, keeping write acknowledgments under 2 ms.

  • gRPC + Arrow Flight
  • CRC32C checksums
  • Zero-downtime compaction

L1 · Graph & Quantizer

Adaptive HNSW + Scalar Quantization

Navigation edges traverse compressed SQ8 or binary codes in L3-cache-friendly blocks, followed by exact FP16/FP32 rescoring on top-K candidates.

  • SIMD AVX-512 / NEON
  • efConstruction 200
  • 2x–32x compression

L2 · Predicate Engine

Bitmap-Guided Filtered Search

Metadata columns compile into compressed roaring bitmaps. When selectivity drops below 5%, the planner switches seamlessly from inline traversal to exact scan.

  • JSONB + numeric ranges
  • Cost-based planner
  • Zero post-filter starvation

L3 · Cold Storage

Object-Backed NVMe Cache

Immutable segments replicate to S3-compatible object storage while local NVMe volumes serve hot partitions through direct kernel bypass reads.

  • io_uring async I/O
  • Point-in-time snapshots
  • Cross-AZ failover < 8s

QUERY PIPELINE

Parse → Roaring Bitmap → HNSW-SQ8 + BM25 → FP16 Rescore

Every query executes inside a single shard worker thread pool with pinned memory arenas and zero garbage-collection pauses.