← Back to Leaderboard
BEndgame-Labs

Endgame-Labs/blowfish

Object-storage search in one Rust binary for self-hosted turbopuffer workloads.

Engineering Health (Methodology)
A · 82/100
Maintenance Activity
● Updated today
Latest Release
v0.1.131
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption7/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 31
24h Growth
+11
7d Growth
+18
Forks
2

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Endgame-Labs/blowfish Star History (2026-11-18 - 2026-12-04) DAILY STAR HISTORY (17-DAY D1 TELEMETRY) +30 in 16d · avg +2/day 35 18 0 2026-11-18: ★ 12026-11-19: ★ 12026-11-20: ★ 12026-11-21: ★ 12026-11-22: ★ 12026-11-23: ★ 12026-11-24: ★ 112026-11-25: ★ 132026-11-26: ★ 132026-11-27: ★ 132026-11-28: ★ 132026-11-29: ★ 132026-11-30: ★ 132026-12-01: ★ 152026-12-02: ★ 202026-12-03: ★ 202026-12-04: ★ 31 ★ 31 11-18 11-26 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

blowfish packages a turbopuffer-compatible HTTP service in a single Rust binary from a Rust 2024 Cargo workspace. With an S3-compatible backend, the bucket is authoritative for the write-ahead log, immutable index segments, and manifest; there is no separate database or dedicated WAL disk. Namespace writes are group-committed through create-only conditional puts (If-None-Match: *) and epoch fencing. A write is acknowledged only after its WAL slot is durable. A startup probe checks that the storage backend supports conditional writes.

The background indexer compacts WAL records into columnar documents, IVF vector indexes with 1-bit RaBitQ codes and full-precision reranking vectors, chunked BM25 postings, and filter indexes. A namespace-wide cluster directory directs cold ANN reads; large reclustered namespaces use a paged slab directory and compact manifest reader copy to limit sequential round trips. Memory and local disk are caches, so --read-only replicas hold no authoritative state. Each namespace has one active writer: adding query replicas does not add write parallelism within that namespace.

Key Capabilities & Differentiators

The API covers dense f32/f16 and int8 vectors, sparse vectors, exact kNN, ANN, and late-interaction multi-vector scoring. Late interaction scans document columns rather than taking the indexed ANN path. Hybrid retrieval combines single- or multi-field and prefix BM25 with vector results via multi_query and reciprocal rank fusion. Attribute filters, highlighting, aggregations, and paginated export support applications that need more than top-k IDs. The API also supports both strong and eventual consistency and namespace copy and branch operations.

Compatibility is demonstrated for a defined test surface: 121 recorded scenarios through the official Python SDK pass in normal and forced-indexing CI modes. Python and TypeScript retry checks exercise backpressure, and a TypeScript smoke test covers ANN, BM25, and async copy polling. This is useful evidence for switching endpoints, not a guarantee of parity for untested calls. On the measured 10M-vector in-region S3 workload with v0.1.14 and 48 probes, recall@10 was 0.953, with warm p50/p90 of 18.2/25.7 ms versus 626/924 ms from a fresh process. Test both paths when setting a latency budget.

Trade-offs & Limitations

The object-store-first layout reduces the authoritative state on each node, but it puts bucket latency on the critical path for durable writes and some reads. Strong-consistency queries can still require a bucket round trip with warm caches. Even in-region, the measured 100M-vector cold query read about 160 MB, so cold-query frequency matters to both latency and storage request and transfer costs. The pre-1.0 format and ongoing failure testing make re-ingestion and rollback plans important; avoid making the bucket the only recoverable copy of irreplaceable data.

Against Qdrant, the choice can flip with memory. In the 2.68M-vector Linux VM test at roughly matched recall, blowfish v0.1.15 delivered 710 q/s at 2 GiB, versus 83–96 q/s for the two Qdrant disk configurations. At 8 GiB, Qdrant delivered 5,616–5,752 q/s versus 1,805 q/s for blowfish. Treat this as a workload-specific sizing result, not a general ranking. For large-scale managed production, turbopuffer preserves the API and offers the simplest migration path. Pinecone is also a managed alternative, but requires a separate integration evaluation.

Hardware & Deployment Guide

For development, run docker compose up --build --wait blowfish. The default service binds to loopback on port 8000, mounts a Docker volume at /data, and leaves authentication off. The s3 profile runs a SeaweedFS-backed test service on port 8001. Alternatively, use stable Rust and run cargo run -p blowfish -- serve --storage-url file:///tmp/blowfish --listen 127.0.0.1:8000. Before exposing a shared endpoint, configure BLOWFISH_ADMIN_KEY and BLOWFISH_REQUIRE_AUTH. For bucket-backed deployments, keep compute close to storage and size caches against your working set.

The container build targets x86_64 and arm64. A plain release build is available without PGO; the profile-guided build uses llvm-tools-preview and scripts/pgo-build.sh. Optional in-process llama.cpp GGUF embedding and reranking uses the local-models feature and requires cmake, clang, and libclang. Version v0.1.123 can replace v0.1.122 without a bucket-format change, but rolling back past v0.1.104 requires a pre-upgrade backup. A vector base built by v0.1.97 or later also makes that namespace's manifest unreadable by v0.1.96 and older. Pin versions and rehearse restores before upgrades.

Durability: Writes are acknowledged after the object-store WAL slot is durable; create-only puts and epoch fencing protect the namespace writer boundary.
Vector layout: IVF uses 1-bit RaBitQ codes for candidate selection and full-precision vectors for reranking.
Hybrid retrieval: Multi-field and prefix BM25, ANN, attribute filters, and reciprocal rank fusion through multi_query.
Compatibility coverage: 121 recorded Python SDK scenarios pass in CI in normal and forced-indexing modes, alongside retry checks.
Read scaling: Read-only replicas use memory and disk caches without owning authoritative data; each namespace has one active writer.
Rollback boundary: v0.1.123 is a binary swap from v0.1.122; rolling back past v0.1.104 requires a pre-upgrade backup.
Best For

Teams that want account-free turbopuffer development and CI or modest self-hosted RAG retrieval on a bucket they control, with a corpus they can re-ingest.

Skip If

You need a mature managed deployment at scale, multiple active writers per namespace, tight cold-query latency over a distant bucket, or durable storage for data you cannot re-ingest.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v0.1.131 (2026-12-04) shipped after this reviewMethodology

Quick Start & Installation

DockerSelf-HostedAPI
docker compose up --build --wait blowfish
curl --fail http://127.0.0.1:8000/

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
blowfish ★31+18RustMITObject-storage search in one Rust binary for self-hosted turbopuffer workloads.
weaviate17k+17Go—Go vector database for filtered hybrid retrieval in production RAG stacks
qdrant35.9k+135RustApache-2.0Rust vector database for filtered and hybrid RAG retrieval
LightRAG41k+110PythonMITGraph-backed RAG for cross-document retrieval and multimodal indexing

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Endgame-Labs/blowfish.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Endgame-Labs/blowfish Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about blowfish

Can I run the same client in local CI and against a hosted turbopuffer service?

Use the official turbopuffer SDK with your blowfish base URL and API key. For the local Python setup, unset TURBOPUFFER_REGION and set TURBOPUFFER_BASE_URL to http://127.0.0.1:8000. The same integration can target a local directory for account-free CI and an S3-compatible bucket for a shared deployment. Validate the endpoints and query semantics your application depends on before switching backends.

Do I need a GPU, and is 4 GB of RAM enough?

GPU and VRAM are not prerequisites for the standard search path. In one 10M-row S3 test, ingest plus reclustering peaked at 2.3–2.9 GB RSS on a 4 GB c7gd.large with swap off. That is a sizing reference, not a minimum or a capacity guarantee: benchmark your own dimensions, concurrency, and cold-cache behavior. Optional in-process GGUF embedding and reranking is a separate build path; size it for the selected model and concurrency.

Does MIT licensing allow commercial self-hosting, and does a private bucket settle compliance?

The project is MIT-licensed, which permits commercial self-hosting subject to the license terms, including retaining the copyright and license notices when distributing copies. A bucket you control gives you control over index placement, not automatic compliance. Configure authentication and bucket access, and test backup and restore procedures against the version you deploy.

How should I choose among blowfish, turbopuffer, Qdrant, and Pinecone?

Choose blowfish if you need the turbopuffer API on storage you control. Choose managed turbopuffer if API continuity matters but you want a hosted path for larger-scale production. Benchmark Qdrant if API compatibility is secondary and you can allocate enough RAM for its HNSW graph and vectors. Pinecone is a managed alternative, not the API target; evaluate it as an integration change rather than a base-URL swap.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Endgame-Labs/blowfish? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Endgame-Labs/blowfish on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare