Skip to content

feat(turbopuffer): update turbopuffer backend with best practices - #880

Merged
jamesgao-jpg merged 9 commits into
zilliztech:mainfrom
nvb:nvb/turbopuffer-updates
Nov 30, 2026
Merged

jamesgao-jpg merged 9 commits into
zilliztech:mainfrom
nvb:nvb/turbopuffer-updates

Conversation

@nvb

@nvb nvb commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR updates the turbopuffer backend with best practices from https://turbopuffer.com/docs/.

Usage

To run the Performance768D100M workload on turbopuffer:

  1. follow the quickstart guide to create an API key
  2. Install and run VectorDBBench
export TURBOPUFFER_API_KEY="<TURBOPUFFER_API_KEY>"
export TURBOPUFFER_REGION="<TURBOPUFFER_REGION>"

vectordbbench turbopuffer \
  --api-key "$TURBOPUFFER_API_KEY" \
  --region "$TURBOPUFFER_REGION" \
  --namespace vdbbench_laion100m \
  --db-label turbopuffer-search-laion100m \
  --task-label turbopuffer-search-laion100m \
  --case-type Performance768D100M \
  --metric-type L2 \
  --k 100 \
  --insert-batch-size 10000 \
  --load-concurrency 4 \
  --disable-backpressure \
  --num-concurrency 1,5,10,20,30,40,60,80,100,120,160 \
  --probes=200 \
  --concurrency-duration 120 \
  --concurrency-timeout 3600 \
  --drop-old \
  --load \
  --search-concurrent \
  --search-serial \
  --pin-namespace \
  --pin-replicas=2

@nvb

nvb commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

/assign @XuanYang-cn

Comment thread tests/test_turbopuffer_cli.py Resolved
nvb and others added 4 commits November 20, 2026 09:49
The warm-cache response always carries status ACCEPTED, so checking the
stringified response for "accepted" returned after the first poll even
while warming was still in progress.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bound the index-readiness (24h) and cache-warm (45m) poll loops so a
stuck namespace fails instead of hanging the benchmark run indefinitely.

Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid relying on transitive installs for packages imported directly by
the turbopuffer client.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nvb
To complete the pull request process, please assign jamesgao-jpg after the PR has been reviewed.
You can assign the PR to them by writing /assign @jamesgao-jpg in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nvb

nvb commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

/assign @jamesgao-jpg

@xiaofan-luan

Copy link
Copy Markdown
Collaborator

@jamesgao-jpg please help to review and merge this pr

@jamesgao-jpg

Copy link
Copy Markdown
Collaborator

Hi, sorry about the late reply and thanks for the contribution! There seems to be a minor conflict problem. Please take a look when you get a time and once resolved I will get it merged ASAP. Thanks!

@nvb

nvb commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jamesgao-jpg, I appreciate the review! I've just resolved the merge conflict.

@jamesgao-jpg
jamesgao-jpg merged commit 6a41547 into zilliztech:main Nov 30, 2026
4 checks passed
@nvb

nvb commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jamesgao-jpg and @xiaofan-luan, now that these best practices have been merged, how can we update the cost leaderboard results for turbopuffer?

If I submit a PR with updated performance results, will they be merged? I see in #728 (comment) that "all benchmark results published in VDBBench must be tested and verified by our team using our own infrastructure and testing process". In that case, can I ask one of you to re-run the tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants