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!

Reflections on Pope Leo XIV's Landmark Encyclical

https://edwardfeser.blogspot.com/2026/06/leo-xiv-contra-new-babel-reflections-on.html-reflections...
1•danielam•1m ago•0 comments

China plans $295B AI data center buildout with domestic chips

https://qz.com/china-ai-data-center-buildout-295-billion-huawei-chips-060926
1•elorant•2m ago•0 comments

Show HN: Nucleus – A security-hardened, Nix-native container runtime

https://github.com/sig-id/nucleus
1•0kenx•5m ago•0 comments

Short statured people answer questions you're too afraid to ask [video]

https://www.youtube.com/watch?v=gZ1m0tIUIDM
1•ZeljkoS•7m ago•0 comments

Claude Fable Five Built a model with one prompt. It's fully open sourced

https://github.com/princezuda/-RequiemGPT-/tree/main
3•zuda•12m ago•1 comments

Apple introduces Siri AI, a profoundly more capable and personal assistant

https://www.apple.com/newsroom/2026/06/apple-introduces-siri-ai-a-profoundly-more-capable-and-per...
1•untitled-now•18m ago•0 comments

Why does tsgo use so much memory?

https://zackoverflow.dev/writing/why-does-tsgo-use-so-much-memory/
1•luispa•19m ago•0 comments

Tornado Cash's Roman Storm Could Face 40 Years as Government Seeks New Trial

https://bitcoinmagazine.com/news/tornado-cashs-roman-storm-new-trial
4•bushwart•21m ago•0 comments

Use CIRCLES framework to find your first digital product immediately

1•xnslx•24m ago•0 comments

How we made hit video game Prince of Persia

https://www.theguardian.com/culture/2026/jan/05/raiders-of-the-lost-ark-hit-video-game-prince-of-...
1•msephton•24m ago•0 comments

The neural basis of thought symbols identified for the first time

https://www.rockefeller.edu/news/39690-neuroscience-brain-symbols-thought-cognition/
1•marc__1•28m ago•0 comments

Sao Paulo Notes

https://marginalrevolution.com/marginalrevolution/2026/06/sao-paulo-notes.html
1•paulpauper•29m ago•0 comments

Replacing RAG with a cognitive memory stack in Elixir/OTP

https://0xcc.re/2026/05/03/skynet-towards-synthetic-neurobiology.html/
1•mikalv•29m ago•0 comments

A little progress is worth a trillion dollars

https://www.abundanceandgrowth.org/p/a-little-progress-is-worth-a-trillion
1•paulpauper•29m ago•0 comments

AWS App Runner availability change

https://docs.aws.amazon.com/apprunner/latest/dg/apprunner-availability-change.html
1•yakkomajuri•30m ago•0 comments

Gordon Wood, RIP

https://www.nytimes.com/2026/06/08/books/gordon-s-wood-dead.html
1•paulpauper•30m ago•0 comments

AI misidentification results in wrongful arrest; man seeks justice

https://www.wsoctv.com/news/local/ai-misidentification-results-wrongful-arrest-man-seeks-justice/...
3•text0404•31m ago•0 comments

RIP software hackathons. Long live the hardware hackathon

https://blog.oscars.dev/posts/rip-software-hackathons-long-live-the-hardware-hackathon/
2•ozcap•33m ago•0 comments

The Pros and Cons of Job Hopping as an Engineer

https://spectrum.ieee.org/strategic-job-hopping
2•jnord•33m ago•0 comments

Show HN: See what ChatGPT knows about you that Claude doesn't

https://github.com/Thinklanceai/agentkeeper
1•tomtom1977•34m ago•0 comments

Judge kills entire case when both lawyers submit AI filings

https://gizmodo.com/judge-cancels-whole-case-after-lawyers-admit-they-didnt-read-ai-generated-fil...
2•alister•34m ago•0 comments

Mechanical forces from the beating heart may help prevent cancer cell growth

https://medicalxpress.com/news/2026-04-mechanical-heart-cancer-cell-growth.html
2•PaulHoule•34m ago•0 comments

Reticulum Network

https://reticulum.network/manual/whatis.html
1•josh-sematic•35m ago•0 comments

Ask HN: Is software engineering still a good career choice for new students?

1•iliashad•36m ago•1 comments

CodegenBench: Can LLMs Write Efficient Code Across Architectures?

https://arxiv.org/abs/2606.04023
1•matt_d•37m ago•0 comments

Show HN: I made the first racing game for Reddit

https://sh.reddit.com/r/SpinoGhostRacing/comments/1tx1lfo/spino_ghost_racing_monza_formula_1/
1•indest•39m ago•0 comments

Aspen – Local LLM for Mortals

https://www.runonaspen.com/
1•mayankm•41m ago•2 comments

Show HN: Live audit log of every command, file, network connection by Claude

https://github.com/yeet-src/claudefeed
2•r3tr0•43m ago•0 comments

Show HN: Persist.chat – Outreach and Sales Agents

https://persist.chat/
1•Robelk1•43m ago•0 comments

UiCA: Accurate Throughput Prediction of Basic Blocks on Intel Microarchitectures

https://arxiv.org/abs/2107.14210
1•rbanffy•45m ago•0 comments