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
19•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

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

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

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

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

Show HN: WhatsApp MCP running free on Cloudflare

https://github.com/finereli/whatsapp-mcp
137•zoozla•17h ago•70 comments

Show HN: Semantics to SQL in Rust, ~70µs per query

https://github.com/stratasite/0sql
3•allenjiji•1h ago•0 comments

Show HN: I built a task system to handle the drudgery so I could focus on tasks

https://3anddoneapp.com/try
2•dmayle•2h ago•3 comments

Show HN: Ranet3 – High performance policy routed IPsec mesh SD-WAN

https://ranet3.com/
38•StepBroBD•1d ago•11 comments

Show HN: The Zelda timeline to catch up before the Ocarina of Time remake

https://legendofhyrule.com/
206•jsomau•1d ago•119 comments

Show HN: A biotech catalyst calendar that links every date to the SEC sentence

https://www.orionbiotechai.com/
5•orionbiotech•3h ago•0 comments

Show HN: High-quality duck audio synthesizer

https://celphase.github.io/duck-pond/
173•celphase•2d ago•44 comments

Show HN: Sphinx – A hook that quizzes you on your AI's code before shipping

https://sphinx-six-theta.vercel.app/
248•critiquebrowser•1d ago•88 comments

Show HN: Esp32sim – Run ESP32 firmware in the browser

https://github.com/mikroverk/esp32sim
199•joakimeriksson•2d ago•45 comments

Show HN: 500 clocks in one 6.3 MB HTML file by Opus 5.5

https://tkgally.github.io/500-clocks/
72•tkgally•1d ago•28 comments

Show HN: Yila – A Codex for Scientific Research

https://yila.ai
8•blacktechnology•10h ago•4 comments

Show HN: Parin – A 2D game engine between raylib and Godot, written in Dlang

https://github.com/Kapendev/parin
74•Kapendev•3d ago•19 comments

Show HN: OmniPTY – Opinionated terminal emulator for macOS and Linux

https://github.com/omnipty-terminal/omnipty
14•bobbycoleman-de•17h ago•3 comments

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

https://llmspeed.dev/
326•albinstman•2d ago•86 comments

Show HN: Things to Do API

https://thingstodoapi.com/
57•invalidmonk•2d ago•29 comments

Show HN: Gemini 4 Argon plays StarCraft

https://starskirmish.com/bench/v0-2/
249•__cayenne__•3d ago•111 comments

Show HN: The Lion King (SNES, 1994), running as a native PC program

https://github.com/kinduff/TLKRecomp
6•kinduff•9h ago•2 comments

Show HN: Roadkill – a zombie car game inspired by the original GTA's driving

https://games.zabaca.com/games/roadkill/
7•uptownhr•10h ago•2 comments

Show HN: Wonderhop – A daily game: guess what most people say, or what none do

https://wonderhop.io/en/
122•mtlduo•5d ago•96 comments

Show HN: Trmnl-cards – Turn an XTEINK X4 into a tiny frame for rare cards

https://github.com/mdnahian/trmnl-cards
3•mdni007•10h ago•0 comments

Show HN: CallSitter – bot that answers my calls and wastes scammers' time

https://github.com/szerintedmi/callsitter
13•szert•1d ago•10 comments

Show HN: Pi-cowboy – use Codex, Claude Code, OpenCode as subagents

https://github.com/electric-dragon-80000v/pi-cowboy
6•suoloordi•23h ago•2 comments

Show HN: Neuron, agents that set themselves up from your GitHub repo

https://www.neuronbot.in
2•tanay_kapoor•12h ago•0 comments

Show HN: Flipflop – Iroh-powered persistent tunnels for filesharing

https://github.com/andunieee/flipflop
146•andunie•4d ago•71 comments

Show HN: My Personal Weather Station

https://johnzanussi.com/weather
5•johnz•12h ago•1 comments

Show HN: DocuMemory – Persistent memory and context for AI coding tools

https://www.documemory.dev/
4•veryslowcode•1d ago•0 comments

Show HN: Hybro – an open interoperability engine for AI agents

https://github.com/hybroai/hybro
2•kevinlu310•15h ago•0 comments

Show HN: InfiniDomino – practically infinite world of dominoes to knock over

https://infinidomino.io/
2•Static2280•15h ago•1 comments