Skip to content

SptDB: Batch Query

Execute multiple vector queries efficiently with throughput metrics.

Source: examples/sptdb/batch-query.js

Usage

bash
node examples/sptdb/batch-query.js '["auth","perf","cache"]' my-namespace

What It Does

  1. Accepts an array of query strings and a namespace
  2. Runs all queries in parallel against SptDB
  3. Reports per-query latency and aggregate throughput

Released under the MIT License.