Back to browse
GitHub Repository

High-performance embedded graph database for analytics and real-time transactions

109 starsC++

NeuG – High-performance Embedded graph DB, one line to serve

by robeenly·Apr 21, 2026·2 points·0 comments

AI Analysis

●●●BangerWizardryBig BrainSolve My Problem

50x Neo4j throughput with embedded-to-service mode switch requiring zero migration.

Strengths
  • LDBC SNB benchmark records with 287x triangle query performance over LadybugDB.
  • Dual-mode architecture eliminates the embedded vs server database decision forever.
  • SQLite philosophy applied to graphs with pip install and immediate querying.
Weaknesses
  • Python-only bindings currently, Node.js support still on the roadmap.
  • Alibaba-backed project may raise enterprise adoption concerns for some teams.
Target Audience

Backend developers building graph-powered applications

Similar To

Kuzu · Neo4j · DuckDB

Post Description

I've been working on NeuG (pronounced "new-gee"), an embeddable graph database that follows the same philosophy as sqlite and DuckDB — in-process, zero configuration, just pip install and query.

What's different from existing embedded graph DBs:

- Dual-mode: start embedded, flip one line to expose as a network service — same data, same queries, no migration - Built on GraphScope Flex, the engine behind the current LDBC SNB Interactive world record (80k+ QPS)

Local benchmark highlights on LDBC SNB SF1 (~3M nodes, 17M edges):

Embedded mode vs LadybugDB (Kuzu-based): NeuG wins 8/9 LSQB queries single-threaded vs LadybugDB's best multi-threaded result. 287x on triangle patterns (Q3), 91x on two-hop filtering (Q2).

Service mode vs Neo4j: 617 QPS vs Neo4j's 12 QPS on LDBC SNB Interactive — 50.6x throughput. P95 latency 20ms vs Neo4j's 1,728ms.

Currently Python only. Node.js bindings and GraphRAG/vector extensions are on the roadmap.

Would love feedback — especially from anyone who's tried Kùzu, LadybugDB, or runs Neo4j in production.

GitHub: https://github.com/alibaba/neug Blog post with full details: https://graphscope.io/blog/tech/2026/04/12/neug-one-engine-t...

Similar Projects

AI/ML●●Solid

AgentKV – SQLite for AI agent memory (MMAP vector+graph DB)

Single-file mmap storage plus an HNSW vector index and explicit graph edges is an elegant, practical combo — think "SQLite for agent memory" with CRC-32 crash recovery and zero-server convenience. The C++20 core + nanobind gives zero-copy NumPy views and GIL-free searches, and the claimed FAISS-like throughput makes this genuinely interesting for local setups; main caveat is build/toolchain friction and how rich the surrounding ecosystem becomes.

WizardryNiche Gem
shiwang_khera
103mo ago
AI/ML●●Solid

PardusDB – SQLite-like vector database in Rust

Using a single-file .pardus format with CREATE/INSERT/SELECT + SIMILARITY queries gives a very familiar developer UX for embedding storage. The combination of graph-based ANN, full transactions, thread-safety, and zero external dependencies is an uncommon and useful engineering combo for local-first AI work; it would win more attention with benchmark comparisons and richer ecosystem integrations (connectors/clients).

Niche GemWizardry
JasonHEIN
204mo ago