I thought you need memory for these things and CPU is not the bottleneck?
Zvec: A lightweight, fast, in-process vector database
11–20 of 50 posts
Re: Zvec: A lightweight, fast, in-process vector database
#12Their self-reported benchmarks have them out-performing pinecone by 7x in queries-per-second: https://zvec.org/en/docs/benchmarks/ I'd love to see those results independently verified, and I'd also love a good explanation of how they're getting such great performance.
Typically, the recipe is to keep the hot parts of the data structure in SRAM in CPU caches and a lot of SIMD. At the time of those measurements, USearch used ~100 custom kernels for different data types, similarity metrics, and hardware platforms. The upcoming release of the underlying SimSIMD micro-kernels project will push this number beyond 1000. So we should be able to squeeze a lot more performance later this year.
Re: Zvec: A lightweight, fast, in-process vector database
#13Re: Zvec: A lightweight, fast, in-process vector database
#14Their self-reported benchmarks have them out-performing pinecone by 7x in queries-per-second: https://zvec.org/en/docs/benchmarks/ I'd love to see those results independently verified, and I'd also love a good explanation of how they're getting such great performance.
Re: Zvec: A lightweight, fast, in-process vector database
#15Re: Zvec: A lightweight, fast, in-process vector database
#16How does this compare to duckdbs vector capabilities (vss extension)?
Re: Zvec: A lightweight, fast, in-process vector database
#17How does this compare to duckdbs vector capabilities (vss extension)?
Yes, nothing on that or sqlite-vec (both of which seem to be apples to apples comparisons). https://zvec.org/en/docs/benchmarks/
Re: Zvec: A lightweight, fast, in-process vector database
#18Re: Zvec: A lightweight, fast, in-process vector database
#19[dead]
for web stuff, e.g. community/forums/docs/small sites which usually don't even have 1M rows of data, precomputing embeddings and storing them and running on a small vector search like this somewhere is much simpler/cheaper than running external services
it's the operational hassle of not having to deal with a dozen+ external services, logins, apis, even if they're free
(I do like mixed bread for that, but I'd prefer it to be on my own lightweight server or serverless deployment)