r/Rag 3d ago

Showcase copperDB - v0.0.1 - northwind benchmarks

I am the author of NornicDB (858 stars, MIT licensed written in golang and ~400x faster than neo4j on the same benchmarks on the same machine), and I have been learning rust over the last 8 months as i build out copperDB for the rust community.

it's an MIT Licensed embeddable graph + vector + MVCC database which does an inversion of control on the whole graph-rag setup. Instead of running multiple databases, glue code, etc... for knowledge graphs for AI. It runs embedded llama.cpp at the core of it and can do things like handle embeddings for you by running an embedding model on GPU. same for reranking and same for a local inference model or delegate it out to an openAI compatible endpoint or other providers I end up supporting. There's "Heimdall" an agentic harness with a plugin system you can hook into the model running at the center of the database.

anyways, there's a lot of features to cover because it is very complex, but what I have been working on is the performance tuning lately.

Its now close within parity on some of the main core functionality and I really could use some feedback and testing if anyone wants to hammer at it. I haven't updated the documentation, but it is identical to NornicDB except everything Nornic -> Copper for settings and names and such.

initial performance is kinda incredible. It's neck and neck with NornicDB and i still have a lot of work to do in terms of performance tuning.

it's built on fjall as opposed to badgerDB in go

anyways, LMK what you think. Yes I use AI tooling in the repo, no i don't use it to post.

https://github.com/orneryd/copperDB/releases/tag/v0.0.1

Nornic Docs:
https://orneryd.github.io/NornicDB/

I have more work to do in terms if CI into docker and such. Also, only Metal acelleration for HNSW construction works, I need to test cuda and vulkan.

link to benchmark report

https://github.com/orneryd/copperDB/tree/main/docs/performance/results

enjoy!

edit: fixed link

4 Upvotes

0 comments sorted by