hn.today

Show HN: Skeg – A memory-efficient vector database and KV store written in Rust

skegdb.com10 points3 comments
Screenshot of Show HN: Skeg – A memory-efficient vector database and KV store written in Rust

Skeg is an open-source Rust database that combines vector search with key-value storage, aiming to let a local model and its database share a machine without keeping every embedding in RAM. It accepts vector and key-value commands through RESP3, so Redis clients can use both in one connection, and it also offers a Python client. Search can return payloads and apply metadata filters, while tenant authentication and quotas provide controls for multi-tenant setups. The project is released under Apache 2.0 and provides macOS and Linux installation options.

Its disk-backed search keeps full float32 vectors on disk and uses compact two-bit TQ2 codes in memory to navigate a Vamana graph and shortlist candidates. Skeg then reads the original vectors for full-precision reranking before returning IDs, scores and requested payloads. The site also describes memory limits, index maintenance, and a local read-only console for inspecting traffic, index state, search latency and shard health; the console’s displayed metrics are explicitly illustrative, not live measurements. Skeg is presented as a way to combine approximate nearest-neighbor search, precise reranking and ordinary key-value operations without requiring the full vector collection to reside in memory.

Read on skegdb.com3 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Go

Laravel Go

Laravel for Go is a full-stack web framework with routing, validation, database tools, background jobs, workflows, and real-time events. It also supports Inertia for frontend integration and is open source under the MIT license. (github.com)

Laravel Go

Laravel Go

Laravel Go is a batteries-included Go framework that combines routing, data access, authentication, queues, workflows, and other features in one package. It uses standard Go patterns and Inertia to serve React, Vue, or Svelte pages without separate API boilerplate. (laravel.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.