frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: KiviDB, a faster Redis-compatible memory database and vector cache

https://github.com/kividbio/kividb
27•murtazayusuf•1h ago
Hi all,

So I have been working on this project KiviDB from February 2026. It started as a project for me to understand rust, having a product with no GC pauses, memory blow up after snapshots and getting OOM on running pods, and that was actually an issue I faced with Dragonfly. I wanted to have something picking the best of Rust, but also picking the best parts of other alternatives like Garnet and Dragonfly. I used AI a lot, but I was the one making the design decisions based on the tests that claude picked from my history of troubleshooting sessions as part of my job. KiviDB supports both RESP2 and RESP3 protocol. I had some founders credits on my AWS account which helped me with the infra, and running instances I could perform benchmark on.

Its keyspace is sharded across threads, it is multi-threaded in nature, and performs best on Linux due to io_uring, I used the tokio_uring crate for this. It also has tokio fallback for other OS's. I hadn't open sourced it until recently as I felt it was not ready yet, the best way to learn it was to build a cloud managed service for it across all three widely used cloud providers i.e AWS, GCP and azure. Since I used to mainly work with cloud, I had some insights on what would be the best ways for the deployments, how to conduct failovers, manage SLAs, etc. And that's what I took help from claude to fast pace it. The website does look like AI slop but it works for now, given my limited resources, that's all I had. You may check it out at : https://kividb.io, I open sourced the core engine under AGPLv3, didn't want to have just source available, because that is available with other tools too. It supports apprx 98-99% of the redis 8.10 commands, few have issues and you can find them at https://github.com/kividbio/kividb/issues, contributors are welcome.

Now the numbers, for the final benchmark, I used 2 c7gn.metal servers, in the same placement group in us-east1, and I used memtier-benchmark tool for this. The setting was : 10M keys, 100B each, 32 cores in use with both pipeline and un-pipelined runs.

pipeline 16 GET: KiviDB 21.2M ops/sec vs Dragonfly 2.0 9.1M, Redis 8.10 2.4M, Redis Cluster 32 shards 4.7M

When not pipelined, Dragonfly performed slightly better at 3.35M ops/sec vs kividb at 3.07M ops/sec. Memory per key was also slightly worse than dragonfly and almost same as Redis, 177B (kividb) vs 134B (dragonfly) vs 178B (redis).

With vector ingestion times it was slower but when querying, it was faster than most alternatives at lower ef, however slower than dragonfly at high ef. Most of the technical details are mentioned here so you can check it out: https://kividb.io/benchmarks.

easiest way to try it: docker run -d -p 6380:6380 kividb/kividb

I am looking forward to building a community around this, provide better rust based tools, I am open to constructive criticism and value informed opinion. Thanks

Comments

murtazayusuf•1h ago
Just adding my benchmarking repo, that contains terraform code and scripts using which I performed the benchmarks, helpful for re-evaluating and verifying the numbers published on our website. And possibly to learn where we might have gone wrong.

https://github.com/kividbio/kivi-benchmark

falconBrisk47•33m ago
Pipelined throughput that high usually means the loadgen is the thing you're measuring. Past ~5M ops/sec we needed 3 separate memtier hosts to keep the client off the critical path. Any p99 numbers alongside it?
saurilabs•20m ago
Has there been heavy usage of AI in building this?
syepes•2m ago
How does this compare and benchmark with https://github.com/apache/kvrocks

Wine Ported to OpenBSD

https://marc.info/?l=openbsd-ports&m=179236125692175
152•iamnothere•2h ago•28 comments

Timestral: Mistral release time-series foundation models

https://mistral.ai/news/timestral/
301•groar•5h ago•45 comments

Linux 7.3 Released

https://lwn.net/Articles/1101143/
472•cjd8•8h ago•204 comments

Alternatives to Animal Testing Are Finally Taking Off

https://spectrum.ieee.org/alternatives-to-animal-testing
132•rbanffy•4h ago•34 comments

Let's Encrypt is adding two additional remote perspectives for domain validation

https://community.letsencrypt.org/t/lets-encrypt-is-adding-two-additional-remote-perspectives-for...
128•gslin•4h ago•39 comments

Show HN: KiviDB, a faster Redis-compatible memory database and vector cache

https://github.com/kividbio/kividb
27•murtazayusuf•1h ago•5 comments

ESA's Hera Will View Asteroid Scars from DART's Strike

https://spectrum.ieee.org/esa-hera-dimorphos-rendezvous
48•rbanffy•4h ago•1 comments

Gdynia and the Dream of a Maritime Poland

https://engelsbergideas.com/notebook/gdynia-and-the-dream-of-a-maritime-poland/
72•lermontov•2d ago•19 comments

Show HN: Qwen3-4B with the AI writing tics trained out

https://100toolkit.com/blog/deslop-model/
93•erikkannike•2h ago•73 comments

A death, a plagiarism scandal and a quest for revenge: the tale of Otto Z

https://www.theguardian.com/news/ng-interactive/2026/oct/08/a-death-a-plagiarism-scandal-and-a-qu...
18•Hooke•2d ago•1 comments

Hybrid Reasoning Agents: LLM agents that think in latent space, act through text

https://arxiv.org/abs/2610.18861
477•allinonai•18h ago•226 comments

Beyond the Glass

https://longreads.com/2026/10/15/mother-museum-skulls-grief-agni/
11•Petiver•3d ago•0 comments

It's still OK to enjoy programming

https://chriskiehl.com/article/it-is-still-ok-to-enjoy-programming
13•goostavos•1d ago•1 comments

There's never been a better time to go into math (by: 3blue1brown) [video]

https://www.youtube.com/watch?v=LKrwhjOI8Nc
482•mdp2021•1d ago•638 comments

If you don't run your own LLM proxy, how do you know whats going on?

https://jrdsgl.com/if-you-dont-run-your-own-llm-proxy-how-the-fuck-do-you-even-know-whats-going-on/
260•amrrs•18h ago•179 comments

William Gibson and the trademarking of cyberspace

https://colo.to/cyberspace.html
240•Eric_Gullichsen•16h ago•111 comments

How to Train Your Robot

https://www.construction-physics.com/p/how-to-train-your-robot
112•crescit_eundo•4d ago•35 comments

Rabbits were a medieval royal luxury in England until the Black Death

https://phys.org/news/2026-10-rabbits-medieval-royal-luxury-england.html
122•samizdis•2d ago•115 comments

Someone behind the software

https://karrisaarinen.com/posts/someone-behind-the-software/
518•tosh•23h ago•186 comments

Dogs seem to agree with humans that 'bouba' is round and 'kiki' is spiky

https://www.sciencealert.com/dogs-seem-to-agree-with-humans-that-bouba-is-round-and-kiki-is-spiky
311•gmays•1d ago•181 comments

Laptop Based on 6502 CPU

https://www.maddox.pro/?p=448
179•nanochess•3d ago•89 comments

Maybe There Was an Egg Cartel After All

https://www.politico.com/news/magazine/2026/10/18/egg-prices-conspiracy-affordability-issue-01100411
61•iamnothere•1h ago•42 comments

RepRapMicron

https://github.com/VikOlliver/RepRapMicron/wiki
433•RobotToaster•1d ago•68 comments

How Quickly Can the DoD Rebuild and Recast the Munitions Industrial Base?

https://www.csis.org/analysis/how-quickly-can-dod-rebuild-and-recast-munitions-industrial-base
118•gmays•16h ago•180 comments

The DNS Museum

https://dns.museum
118•zdw•2d ago•15 comments

Harness2 by Google Research – Recursive Agent Harnessing

https://github.com/google-research/harness2
52•irthomasthomas•4h ago•11 comments

Superlite: A Faster Alternatie to Superpowers

https://contextfirst.blog/superlite-hand-an-agent-a-spec/
130•iheatuchriswogu•13h ago•60 comments

Tmux and Claude Code: Sessions, Send-Keys, and the Ceiling

https://crystl.dev/guides/tmux-for-ai-agents/
109•ankitg12•9h ago•78 comments

Free Pascal compiler now supports dynamic packages

https://www.getlazarus.org/dynamic/
188•sysrpl•20h ago•44 comments

Show HN: WhatsApp MCP running free on Cloudflare

https://github.com/finereli/whatsapp-mcp
140•zoozla•18h ago•71 comments