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!

Show HN: Squishy 3D helpers powered by Three.js

https://prathje.github.io/plushies/
1•prathje•22s ago•0 comments

Wildfires Are Unfightable

https://www.nytimes.com/2026/10/12/opinion/wildfires-firefighters-climate-change.html
1•thelastgallon•1m ago•0 comments

TorchLean is a Lean 4 framework for neural-networks

https://github.com/lean-dojo/TorchLean
1•porridgeraisin•4m ago•0 comments

Wall Street's AI Debt Machine Is Starting to Choke on Supply

https://www.bloomberg.com/news/articles/2026-10-28/wall-street-s-ai-debt-machine-is-starting-to-c...
1•meep_map•4m ago•0 comments

Why We Should Work on AI Instead of Fearing It: A Philosophical Perspective

1•almustakim47•5m ago•1 comments

Popular Sovereignty

https://en.wikipedia.org/wiki/Popular_sovereignty
1•ironmagma•5m ago•0 comments

Analysts followed AI agent's randomly assigned preferences in 86% of decisions

https://www.anthropic.com/research/agents-judgment-calls
1•ilreb•6m ago•0 comments

The Brutal Harvard Class That Suddenly Everyone Wants to Take

https://www.wsj.com/lifestyle/harvard-class-humanities-32e06366
1•sonabinu•6m ago•0 comments

What was the turning point for Postgres?

https://planetscale.com/blog/what-was-the-turning-point-for-postgres
1•ksec•6m ago•0 comments

Steve's Old Computer Museum

https://oldcomputers.net/
2•freakynit•8m ago•0 comments

Lamdera v1.5.0 is out Elm 0.19.3, faster Wire, safer virtual DOM and++

https://dashboard.lamdera.app/releases/v1-5-0
1•cekrem•8m ago•0 comments

AI Agents Flooded RubyGems to Get Code Execution on Its Docs Builder

https://optimuslabs.io/research/briefings/rubygems-rubydoc-agent-execution
2•mooreds•15m ago•0 comments

A framework for capturing webhooks from providers reliably and durably

https://github.com/jamescarr/ankusa
1•mooreds•16m ago•0 comments

Propaganda and Cinema

https://sk500.online/politics/propaganda-and-cinema/
1•airhangerf15•16m ago•0 comments

Tell HN: I'm going on strike this November

6•curiousaboutml•17m ago•3 comments

Show HN: Toolvy – 120 media tools that run in the browser

https://toolvy.net/
1•umarratra•21m ago•0 comments

TLP Is Not a Suggestion

https://www.akamai.com/blog/security-research/tlp-is-not-a-suggestion
1•sneela•22m ago•0 comments

Tagd – a game of Tag (You're it)

https://tagd.gg/login
2•bravilogy•23m ago•0 comments

AI bots flooded 2023 UK government consultation on disposable vapes ban

https://www.theguardian.com/society/2026/oct/27/ai-bots-flooded-2023-uk-government-consultation-d...
1•agons•25m ago•0 comments

Show HN: TAW, herdr for tmux: see which coding agent needs you

https://github.com/27medkamal/tmux-agent-wizard
1•27medkamal•26m ago•0 comments

Zero database QR labels carry structured data

https://github.com/tooltechgeek/nodb_table
1•tooltechgeek2•26m ago•0 comments

Answers at the Back of the Book

https://mmapped.blog/posts/53-answers-from-the-book
1•martinhath•30m ago•0 comments

About the compromised eMudhra intermediate CAs

https://support.apple.com/en-us/149555
4•birdculture•30m ago•0 comments

Show HN: Nuvrail – make an AI agent ask before it sends, moves or deletes email

https://github.com/agens-field/nuvrail
1•mmodahl•32m ago•1 comments

Crab Eating Frog

https://en.wikipedia.org/wiki/Crab-eating_frog
1•silver92bullet•32m ago•0 comments

MotionBricks: Scalable Real-Time Motions with Modular Latent Generative Model

https://nvlabs.github.io/motionbricks/
1•jonbaer•35m ago•0 comments

Ten days later, Git on macOS still trusts the compromised eMudhra certificates

https://emudhra.we-have-a-problem.com/apple.html
2•galadran•35m ago•0 comments

A Little Bit of Slope Makes Up for a Lot of Y-Intercept [video]

https://www.youtube.com/watch?v=mE98Is1quwY
1•wofo•40m ago•0 comments

I let Claude run my social media accounts – where it won and where it failed

https://aioperatorwithsimon.com/i-let-claude-run-my-social-media-accounts/
2•simonbuilds•46m ago•0 comments

Where Have All the Car Commercials Gone?

https://www.wsj.com/cmo-today/where-have-all-the-car-commercials-gone-6844790f
1•bookofjoe•46m ago•2 comments