Today, we're open-sourcing Kosha. Kosha is a search engine built on object storage: S3 is the source of truth, local NVMe is a cache, and compute nodes are disposable.
Search goes from clusters you babysit to a bucket you own.
An open-source alternative to turbopuffer. Apache 2.0, written in Rust.
github.com/decover-tech/kosh…
we released v0.5.1 today
3 ingest optimizations we shipped in kosha today, all from one bulk backfill:
1. get slow work off the request path. a write that crossed the flush threshold built the segment and published the manifest itself, and every other write to that namespace waited behind it. publish was 5.2 s of a 6.1 s average write. now background workers flush and publish, and writes just return.
2. make the hot index small. to tell upserts from appends, each writer keeps a map of every document id. it cost ~300 bytes per id and was deep-copied on several write paths. interned segment ids, inline storage and a shared copy-on-write index bring it to ~77-91 bytes per id, 3.5-3.8x less, and cold starts now build incrementally instead of restarting.
3. give memory back. under sustained writes the ingest pod grew by roughly the size of everything it was sent and never shrank. the live heap was small, glibc was just holding freed pages. switching to jemalloc with background purging: 80 mb through ingest now leaves 2.8 mb allocated.
find us at: github.com/decover-tech/kosh…
1/6 We made Kosha's S3-backed ingest 9.56× faster on the exact same machine, with no extra hardware:
Throughput: 3,479 → 33,262 rows/s
p99 write latency: 3,879 ms → 104 ms (37× lower)
Today, we're open-sourcing Kosha. Kosha is a search engine built on object storage: S3 is the source of truth, local NVMe is a cache, and compute nodes are disposable.
Search goes from clusters you babysit to a bucket you own.
An open-source alternative to turbopuffer. Apache 2.0, written in Rust.
github.com/decover-tech/kosh…
kosha vs OpenSearch: no cluster to babysit. S3 is the source of truth, so there are no replicas to manage, no shard rebalancing, and no 3am disk-full pages. Lose a node and you just warm another cache, while keeping the queries you know: analyzers, per-field BM25, fuzzy, aggregations, highlighting.
kosha vs turbopuffer: same object-storage architecture, but Apache-2.0 and running in your own bucket and your own cloud account. No vendor lock-in and no data leaving your perimeter, and on the same queries we're within a few ms of their server time.
kosha vs LanceDB: Lance is a great file format and library; Kosha is a full search server on S3. Hybrid BM25 + vector with RRF, filtered kNN, Elasticsearch-style queries and aggregations, multi-tenant keys, and durable writes through an S3 WAL.
Today, we're open-sourcing Kosha. Kosha is a search engine built on object storage: S3 is the source of truth, local NVMe is a cache, and compute nodes are disposable.
Search goes from clusters you babysit to a bucket you own.
An open-source alternative to turbopuffer. Apache 2.0, written in Rust.
github.com/decover-tech/kosh…
kosha vs. turbopuffer
turbopuffer is a fast, managed search service, but it has its own query api and its own client. if you already run elasticsearch, moving means rewriting every query, every client call and every dashboard that depends on them. your data also lives in their service, not in a bucket you control.
kosha speaks elasticsearch-style queries: bool, match and multi-field search, per-field bm25, fuzzy, prefix and glob filters, nested fields, aggregations (terms, metrics, histograms, percentiles), highlighting and geo distance. most of your existing query shapes carry over, so moving is a port, not a rewrite. it's not a byte-for-byte drop-in, so check the docs for the exact surface.
underneath it's the same s3-first design: s3 is the source of truth and nvme is just a cache, so there are no replicas to manage and losing a node means warming another cache. it's apache-2.0 and runs in your own bucket, with vector and hybrid search too.
link: github.com/decover-tech/kosh…
Today, we're open-sourcing Kosha. Kosha is a search engine built on object storage: S3 is the source of truth, local NVMe is a cache, and compute nodes are disposable.
Search goes from clusters you babysit to a bucket you own.
An open-source alternative to turbopuffer. Apache 2.0, written in Rust.
github.com/decover-tech/kosh…


