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!

EU Icons for labelling AI-generated content

https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content
1•giuliomagnifico•3m ago•0 comments

Asia is now buying America and nobody is talking about it

https://asia.nikkei.com/opinion/asia-is-now-buying-america-and-nobody-is-talking-about-it
2•alephnerd•5m ago•0 comments

Half of Bitcoin in circulation is underwater for the first time since 2022

https://sherwood.news/crypto/half-of-the-bitcoin-supply-in-circulation-is-underwater-for-the-firs...
3•gmays•8m ago•0 comments

The Fable 5 Export Controls root of takedown request

https://www.lutasecurity.com/post/the-fable-5-export-controls-harm-us-cyber-defense
1•dawie•11m ago•0 comments

Is CPU design hitting a (soft) speed limit?

1•leecommamichael•18m ago•0 comments

Real-Time NYC rat map

https://ratflow.nyc/
2•UnitedOfTransit•20m ago•1 comments

Optique 1.1.0: Command discovery, value parsers, and ordered grammars

https://github.com/dahlia/optique/discussions/834
1•dahlia•25m ago•0 comments

Phoenix mostly doesn't drink Colorado River water

https://signaldoctrine.substack.com/p/the-allocation
2•SignalDoctrine•27m ago•0 comments

Note on Rio 3.5 Open

https://twitter.com/IplanRio_rj/status/2066693494769348946
1•thimabi•27m ago•0 comments

What one country's experiment says about attempts to boost birth rates

https://www.bbc.co.uk/news/articles/c5yzdr4ygdno
2•mmarian•37m ago•0 comments

I built a notes app powered by the model that powers Apple Intelligence

https://apps.apple.com/us/app/fog-on-device-ai-notes/id6760272134
1•akshatsaladi•43m ago•1 comments

Ask HN: What was the last thing you built on Fable 5

2•ddmma•46m ago•1 comments

In the Matter of OpenAI vs. LangGraph (2025)

https://www.latent.space/p/oai-v-langgraph
1•mooreds•47m ago•0 comments

DOJ Lawyers Argue xAI Is 'Vital' for National Security in NAACP Lawsuit

https://www.wired.com/story/doj-lawyers-argue-xai-vital-national-security-naacp-lawsuit/
2•ilreb•47m ago•0 comments

EU AI: the fables we told ourselves

https://pleias.ai/blog/fable-eu
1•mooreds•48m ago•0 comments

ShopFoundry – Turn Etsy listings into better titles, tags and descriptions

https://www.shopfoundry.app/
1•daisyjin•49m ago•0 comments

Distro Fighter game: Find your Linux distro and desktop

https://distrofighter.com/
3•ashitlerferad•1h ago•0 comments

Age Verification in Monolith OS

https://monolith-project.org/blog/age-verification/
1•rickcarlino•1h ago•1 comments

Safety Ideas, and a Testable Path

1•GrizzlyMedicine•1h ago•0 comments

AI efficiency gains come at a high energy cost

https://www.ft.com/content/7f1c81ac-775b-4f52-a650-7804e4734d5b
1•1vuio0pswjnm7•1h ago•0 comments

Predictive Data Debugging: Reveal and Shape What Models Learn Before You Train

https://www.goodfire.ai/research/predictive-data-debugging
1•gmays•1h ago•0 comments

Frederic Tudor

https://en.wikipedia.org/wiki/Frederic_Tudor
3•thunderbong•1h ago•0 comments

How Many Elementary Particles Are There, Really?

https://www.quantamagazine.org/how-many-elementary-particles-are-there-really-20260615/
1•ProAm•1h ago•0 comments

Hardest IT roles to fill in 2026 and what's changed

https://www.cio.com/article/4184685/the-11-hardest-it-roles-to-fill-in-2026-and-whats-changed.html
5•WaitWaitWha•1h ago•1 comments

Leaked from Russia: 18 Videos of the Fuel Crisis Growing Fast [video]

https://www.youtube.com/watch?v=yIj3CLqsOXs
1•consumer451•1h ago•0 comments

A weekly read on the US hay market

https://haywireag.com/
2•mooreds•1h ago•0 comments

Microsoft turns to AWS as GitHub faces AI capacity crunch

https://runtimewire.com/article/microsoft-github-aws-ai-capacity-crunch
86•ilreb•1h ago•25 comments

Anthropic Sued over Alleged False Advertising on Claude Max Subscription Limits

https://www.cnet.com/tech/services-and-software/anthropic-sued-alleged-false-advertising-claude-m...
5•SilverElfin•1h ago•0 comments

6th Finger Project (2022) [video]

https://www.youtube.com/watch?v=232jn-Vu6Rk
1•nivethan•1h ago•0 comments

Australia to probe assault claims by Gaza flotilla activists against Israeli[..]

https://www.bbc.com/news/articles/clyx4eny41zo
2•grugagag•1h ago•0 comments