How Neo4j built a graph database in 20 years and 10 weeks
gdb-engines.comSo Relate is kind of like what https://github.com/kuzudb/kuzu was?
It’s been a lot of fun. But yes we built it from scratch in a relatively short time. Some foundations were there especially acceptance tests for openCypher and performance tests and we had neo4j and others to test against. Since early September we merged almost 2000 PRs with agents running on fireworks models - glm, kimi, deepseek and the occasional Claude and Gemini. But 15 years of database architecture/design experience in our heads helped a lot with the steering. It’s all OSS so you can see the development pace. https://github.com/relatedb/relate
I don't have the best memories about Neo4j.
We ran it clustered, and had to use bookmarks to make sure we didn't end up on an out-of-date read-replica after having just written something.
But that wasn't the worst. The worst was the stop the world events. When a garbage collect would take too long the whole thing would promote another write master.
Since then I'm quite allergic to databases written in a GC language.
Neo4j isn't fun to run but I really enjoy graph data modeling and the Cypher query language.
The article is about their new open source embedded graph database, relate.
An alternative is LadybugDB https://github.com/LadybugDB/ladybug
yooo whats with making me the bad guy lol. i was just steelmanning the other side so that emil could respond for the critics
Is this a bet that agentic compatibility will drive database adoption and database technology customer aquisition?
I still find it hard to grasp that someone builds a software of this kind of complexity in 10 weeks. It feels like the market is a pinball mashine.
I think the bet is, roughly, build something simple, focused, and open source to jump-start an (agentic) developer ecosystem, then slide the existing “enterprise-grade” platform into place underneath for the folks with the checkbooks.
They’re probably imagining Relate : Neo4j as Spark : Databricks.
More pglite/neon : databricks
It's an existing, will tested system they are rewriting. It's a good case for LLM rewrite, it's not a new concept or from scratch product.
It’s not a rewrite. It’s a new product from scratch. With a different form factor. Embedded, local, low resource, in memory, agent-native.
Not focused on scale, HA, security, enterprise production workloads.
Not same interface?
The shocker was DuckDb getting acquired. AI boosts the (potential) value of OLAP enormously.
Graph databases have largely been solutions in search of problems (knowledge graphs, social networks, auth systems), but anyone with the slightest dealing with them starts to think they too are problems. I never met anyone that adopted one that wasn't relieved when it was killed.
As a company I think they’re desperate for any kind of product market fit. Their flagship database is past its time and the bet that a graph database would be anything but niche was wrong. From what I’ve heard the company has a massive churn issue and struggles to acquire customers with very long sales cycles. Bad combo.
So now they’re a AI graph database company. Ok.
The company is doing well. Thank you. It was just this form factor that was missing …
If you're asking yourself "should I use a graph database?", just say "no", you'll be right 99% of the time. I'm willing to take the %1 miss.
Pretty cool!
Is it just me, or do the fonts render really oddly?
Let me know your platform, they look okay to me in Firefox/Chrome/Safari on macOS.