frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

What every developer needs to know about in-process databases

https://www.graphgeeks.org/blog/what-every-developer-needs-to-know-about-in-process-dbmss
12•semihs•1y ago

Comments

semihs•1y ago
In-process (aka embedded/embeddable) databases are not new. In fact SQLite is the most widely deployed database in the world. However, starting with DuckDB, there is a new set of in-process database systems, such as Kuzu and Lance. As a co-developer of Kuzu, I hear several frequently asked questions (some of which are misconceptions) about in-process databases.

- What are their advantages/disadvantages compared to client-server databases? - Does in-process mean databases are in-memory/ephemeral? (NO!) - Can in-process databases handle only small amounts of data? (NO!) - What are some common use cases of in-process databases? - What if my application needs a server?

I tried to answer some of these questions in a blog post with pointers to several other resources that articulate several of these points in more detail than I get into.

I hope it's helpful to clarify some of these questions and help developers position in-process DBMSs against client-server ones.

emmanueloga_•1y ago
The article suggests running Kuzu in a FastAPI frontend for network access. A caveat: production Python servers like Uvicorn [1] typically spawn multiple worker processes.

A simple workaround is serving HTTP through a single process language like Go or JavaScript, since Kuzu has bindings for both. Other processes could access the database directly in read-only mode for analysis [2].

For better DX, the ideal would be Kuzu implementing the Bolt protocol of Neo4J directly in the binary, handling single-writer and multi-reader coordination internally. Simpler alternative: port the code from [3] to C++ and add a `kuzu --server` option.

--

1: https://fastapi.tiangolo.com/deployment/server-workers/#mult...

2: https://docs.kuzudb.com/concurrency/#scenario-2-multiple-pro...

3: https://github.com/kuzudb/explorer/tree/master/src/server

semihs•1y ago
Yes this makes sense and we plan to eventually do something along what you are suggesting. We also have a plan to have a built-in server/GUI, where users can directly launch a web-based explorer through our CLI by typing "kuzudb -ui".
emmanueloga_•1y ago
That sounds great!

My Quest to Find the Crispest Apple in America

https://www.wsj.com/arts-culture/food-cooking/crisp-apple-varieties-test-c12940ba
1•impish9208•8m ago•1 comments

How the cure for scurvy was found, then lost(2010)

https://idlewords.com/2010/03/scott_and_scurvy.htm
1•somat•8m ago•0 comments

Beau – An AI boyfriend app focused on everyday conversations

https://play.google.com/store/apps/details?id=com.beau.aiboyfriend&hl=en_US
2•prevanisupport•12m ago•0 comments

A Perfect SimCity

https://www.jeffquast.com/post/a-perfect-simcity/
2•mariuz•12m ago•0 comments

Bill Gates has earned billions investing in climate-polluting landfills

https://www.cnn.com/2026/11/14/climate/bill-gates-landfills-propublica
2•rawgabbit•18m ago•0 comments

I borrowed the query planner from databases to fix a multi-index RAG agent

https://medium.com/@sankeerthan.kasilingam/i-borrowed-the-query-planner-from-databases-to-fix-a-m...
1•sankeerthan•19m ago•0 comments

BrowserDo·Embiody – a browser built for AI agents

https://embiody.com/blog/embiody-0-9-preview/
1•junlongzhai•19m ago•0 comments

Human land use drives microplastic abundance in terrestrial wildlife

https://www.nature.com/articles/s41586-026-11285-x
2•bryanrasmussen•34m ago•0 comments

Disk encryption on NetBSD – achieving secrecy

https://netbsd.org/~nia/disk-encrypt/
2•jaypatelani•37m ago•0 comments

The elites just went into hiding [video]

https://www.youtube.com/watch?v=qAd1myPXrRk
1•Bender•42m ago•0 comments

Reading and Working for Salon

https://www.typebarmagazine.com/on-reading-and-working-for-salon/
2•rdmuser•43m ago•1 comments

B.C. arbitrator imposes first union contract for Amazon workers in North America

https://www.cbc.ca/news/canada/british-columbia/amazon-union-contract-b-c-first-north-america-9.7...
8•Teever•44m ago•1 comments

96.0% on LongMemEval: what retrieval does for long-term memory

https://www.papr.ai/blog/papr-longmemeval-96
1•amirkabbara•45m ago•0 comments

Confessions of an AI Skeptic

https://daniel-azuma.com/blog/2026-11-12-ai-skeptic/
3•gashad•46m ago•0 comments

Show HN: Four bite-sized chess puzzle games built on micro-boards

2•navalsaini•46m ago•0 comments

Turing Complete: Learn CPU architecture with puzzles

https://store.steampowered.com/app/1444480/Turing_Complete/
2•totallymike•50m ago•1 comments

Show HN: Hazel – Declarative schema management for SQLite

https://github.com/winebarrel/hazel
1•winebarrel•55m ago•0 comments

Rust Is the New C

https://www.namtao.com/rust-is-the-new-c/
2•hatamoto•1h ago•0 comments

Munich Laser Emits a Beam of Matter Waves (1999)

https://www.sciencedaily.com/releases/1999/03/990317060831.htm
1•peter_d_sherman•1h ago•1 comments

Anthropic CVP (Mythos) Defense Access Requirements Reduced to KYC

https://portal.anthropic.com/login?returnTo=%2Fprograms%2Fcvp#_
1•jcomp•1h ago•1 comments

New study narrows the timeline for the emergence of life on Earth

https://gizmodo.com/early-earth-was-a-molten-asteroid-blasted-hellscape-scientists-now-know-when-...
3•gmays•1h ago•0 comments

How Jensen Huang Built the Backdoor Route That Keeps Beijing in the AI Race

https://www.wsj.com/tech/jensen-huang-backdoor-ai-data-centers-a5e4499d
5•ViktorRay•1h ago•1 comments

Kiri – The Modern Container Runtime

https://runkiri.com/
14•nikolay•1h ago•7 comments

Show HN: Gawain – Require type hints on all Python variables

https://github.com/matheuzgomes/gawain
21•MarinhoD•1h ago•5 comments

Agent Substrate: The Core System

https://github.com/agent-substrate/substrate
3•thunderbong•1h ago•0 comments

Anthropic, can you please make up your mind with your models?

4•xlayn•1h ago•3 comments

Europe's Digital Wallets May Be More Traceable Than Intended

https://spectrum.ieee.org/europe-digital-id-security-cryptography
3•geox•1h ago•0 comments

Songs That Explain America

https://www.theatlantic.com/culture/2026/09/50-songs-explain-america-playlist/687598/
2•gmays•1h ago•0 comments

Training Your Replacement: Worker Incentives and the Pace of Automation

https://www.nber.org/papers/w35950
2•rohanm93•1h ago•0 comments

Discovery Feed for Agents

https://twitter.com/cadenbuild/status/2121372002313503003
1•cadenli2025•1h ago•0 comments