WOLBΛRG

Performance

Tuning guidance for recall latency, ingest throughput, and storage growth in Wolbarg.

What is it?

Practical notes on what dominates runtime cost and how to configure Wolbarg for speed vs quality.

Why does it exist?

Most latency is not “SQLite being slow” — it is embedding HTTP calls, rerank APIs, and scanning oversized candidate sets.

How it works — cost drivers

PathDominated by
rememberEmbedding API + single insert
recallQuery embed + vector scan (+ hybrid + rerank)
ingestParse + N embeddings + batch insert
compressLLM tokens

Tuning checklist

  1. Call await ctx.ready() at startup to fail fast
  2. Prefer metadata filters before raising topK
  3. Keep threshold slightly above 0 for noisy corpora
  4. Use hybrid only when you need exact tokens
  5. Reserve rerankers for high-precision paths
  6. Pick chunk sizes intentionally (Chunking)
  7. Match embedding dimensions to your model and never silently change them mid-database

When should you use SQLite vs Postgres?

  • SQLite — single node, lowest ops overhead
  • PostgreSQL — multi-instance sharing and central ops

See Benchmarks for methodology and published numbers, and the live charts at /benchmarks.