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!

Snow-eater heat waves of the western United States

https://www.science.org/doi/10.1126/sciadv.aeb3361
1•littlexsparkee•2m ago•0 comments

Combinatorics-Framework released for QA testers/students

1•yb-combi•2m ago•0 comments

Medieval Medicine Fueled the Belief That Vampires Are Real

https://www.fangoria.com/real-life-vampire-lore-and-medieval-medicine-the-blood-of-dawnwalker/
1•wertyk•5m ago•0 comments

Comcast turns your Xfinity WiFi into a home motion detector

https://www.bleepingcomputer.com/news/security/comcast-turns-your-xfinity-wifi-into-a-home-motion...
1•nazgulsenpai•6m ago•0 comments

China Is Building a Blue Granary

https://www.palladiummag.com/2026/08/04/china-is-building-a-blue-granary/
1•sorenKaram•7m ago•0 comments

Unicode Consortium

https://en.wikipedia.org/wiki/Unicode_Consortium
1•toomuchtodo•8m ago•1 comments

What If America Went Dark?

https://www.nytimes.com/2026/08/18/magazine/national-blackout-power-electricity-outage.html
1•danso•9m ago•1 comments

DeckSpace – presentations that are web pages, not slide files

https://deckspace.org/
1•lijifly•11m ago•0 comments

LabCraft Blog: What does the hash in a Nix store path name?

https://www.labcraft.dev/blog/nix-store-paths
1•anandsuresh•14m ago•0 comments

Agents for Robot Builders

https://foxglove.dev/blog/foxglove-goes-agentic
1•intrepidsoldier•14m ago•0 comments

Npx passproof install: agent can't say tests passed unless the runner printed

https://github.com/AziizBg/passproof
1•AziizBg•15m ago•0 comments

Claude Code 2.1.234 continues your session automatically once usage limit resets

https://code.claude.com/docs/en/changelog
2•janpeuker•16m ago•1 comments

Ask HN: Delete My Account

3•LAC-Tech•19m ago•0 comments

Mythic's analog compute-in-memory architecture

https://www.mythic.ai
1•janandonly•19m ago•0 comments

Caveman Saves Tokens by Doing Less, Not Just Saying Less

https://stuckinalocalminima.com/blog/2026/caveman/
1•barufa•20m ago•0 comments

Starship arrives at Christmas Island after 24-day ocean ordeal

https://www.space.com/space-exploration/launches-spacecraft/starship-lives-spacex-craft-arrives-a...
2•T-A•23m ago•0 comments

Department of War Orders Research Security Audits at 30 Academic Institutions

https://twitter.com/DoWCTO/status/2089356910705184889
2•porridgeraisin•24m ago•0 comments

Gift Economy Background of the Minecraft End Poem

https://theeggandtherock.com/p/i-wrote-a-story-for-a-friend
1•bobson381•24m ago•1 comments

The safety robot that comes with instructions on how to kill it

https://dangerousminds.net/pop-culture/safety-robot-that-comes-instructions-how-to-kill-it/
2•CharlesW•24m ago•0 comments

Show HN: ChatOSS – A Codex alternative for Open Source AI built on Ollama

https://chatoss.ai
3•thetjmccarty•24m ago•2 comments

Show HN: BallGuessr – Football player guessing game

https://ballguessr.eu/
1•yaman071•24m ago•0 comments

Vim wants you to control, VSCode wants you to consume

https://buttondown.com/hillelwayne/archive/vim-wants-you-to-control-vscode-wants-you-to/
2•speckx•28m ago•0 comments

Comcast adds motion sensing to its newer routers with a privacy catc

https://techcrunch.com/2026/08/18/comcast-adds-motion-sensing-to-millions-of-its-newer-routers-wi...
1•_____k•29m ago•0 comments

Are xPal Total and Remote Wipeout, Terminate Mode Meaningful for Privacy?

1•Brandon-Coll•30m ago•0 comments

Show HN: Runbook.v1 – governed workflow execution for MCP (fail-closed)

https://github.com/CorpusIQ/runbook-spec
1•corpusiq_io•32m ago•0 comments

OpenAI Overhauls Safety Protocols, Pauses Training Runs After Rogue Agents

https://www.wired.com/story/openai-overhauls-safety-protocols-after-its-ai-agents-went-rogue/
1•reasonableklout•34m ago•0 comments

There's No Reason to Buy a New Phone Anymore

https://www.theatlantic.com/technology/2026/08/secondhand-tech-boom/688309/
1•samizdis•35m ago•0 comments

Flipping the kill switch: I survived 72 hours without US tech

https://www.politico.eu/article/europe-digital-sovereignty-experiment-living-without-us-tech-for-...
1•leonidasrup•35m ago•0 comments

A Quest Most Worthy

https://bengodfrey.dev/blog/a-quest-most-worthy/
1•sudo-bendg•36m ago•0 comments

Ask HN: Countries with greatest temperature increases have benefited from them?

2•amichail•36m ago•1 comments