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!

Claude Users Cancel Subscriptions, Citing Anthropic's New AI Watermark

https://www.businessinsider.com/claude-users-cancel-subscriptions-citing-anthropic-new-ai-waterma...
2•elorant•19s ago•0 comments

YouTube is changing how it counts views to give the numbers a boost

https://www.theverge.com/streaming/981105/youtube-video-view-counting-update
2•thm•56s ago•0 comments

Curl Performance

https://daniel.haxx.se/blog/2026/08/14/curl-performance-2/
2•ibobev•1m ago•0 comments

One Oakland police officer made $490k in overtime

https://oaklandside.org/2026/01/29/oakland-police-overtime/
3•speckx•4m ago•0 comments

Can a 500M² backyard grow a year's worth of calories for one person?

https://plotarithmetic.substack.com/p/can-a-500-m-backyard-grow-a-years
4•madihaa•6m ago•1 comments

AI won't solve the work-theater problem

https://think-twice.me/?p=102
1•zug_zug•6m ago•0 comments

Proofs Should Repair Themselves

https://www.galois.com/articles/proofs-should-repair-themselves
1•surprisetalk•7m ago•0 comments

Show HN: Singular – local orchestration for autonomous coding agents

https://github.com/alex-reysa/singular-lite
4•alexreysa•8m ago•0 comments

GPT-4chan mirror hosted on Hugging Face behind gated access

https://huggingface.co/u84u/gpt4chan
1•u84u•8m ago•1 comments

Tratex: A Road Sign Alphabet in the Making

https://lineto.com/articles/tratex
1•colinprince•8m ago•0 comments

Ice cream makers as 'critical infrastructure'?

https://www.politico.eu/article/ice-cream-makers-as-critical-infrastructure-the-wobbly-rollout-of...
2•Tomte•8m ago•0 comments

R/Gamedev Policy on AI Use

https://www.reddit.com/r/gamedev/comments/1vrnqyt/rgamedev_policy_on_ai_use/
1•redbell•10m ago•0 comments

Ask HN: What's a Dirty Secret No One Wants to Admit in the Tech Industry?

2•karakoram•10m ago•2 comments

Ask HN: Do you feel comfortable admitting that you use AI?

4•var0xyz•11m ago•2 comments

3k WordPress Sites Use Atec Cache APCu – That Number Means More Than It Looks

https://medium.com/@chris.ahrweiler/3-000-wordpress-sites-use-atec-cache-apcu-and-that-number-mea...
1•docjojo•12m ago•0 comments

Show HN: Agent-codemode – scripts your agent writes can call your MCP servers

https://github.com/janwilmake/agent-codemode
1•janwilmake•12m ago•0 comments

Show HN: Imgoci – format for publishing OS images to an OCI registry

https://github.com/imgoci/spec
1•aliasxneo•12m ago•0 comments

RIP Columbia House: Here's How It Improbably Survived This Long

https://gizmodo.com/r-i-p-columbia-house-heres-how-it-improbably-survived-this-long-2000799621
2•CharlesW•13m ago•0 comments

Turn an Excel spreadsheet into a web app with Python

https://mljar.com/tutorials/excel-workflow-to-web-app/
1•pplonski86•13m ago•0 comments

I Became Radicle-Ized

https://kristoff.it/blog/source-code-availability/
1•lftherios•13m ago•0 comments

Ask HN: Another GitHub Outage?

1•tom1337•13m ago•1 comments

CachyOS Performance vs. Other Linux Operating Systems on a $46k USD Workstation

https://www.phoronix.com/review/cachyos-hp-z4g6i
1•rbanffy•15m ago•0 comments

typ.ing

https://typ.ing/
3•bookofjoe•15m ago•1 comments

Ink Traps and Pals

https://tosche.net/blog/ink-traps-and-pals
1•colinprince•15m ago•0 comments

AI detectors are a bad idea

https://blog.keyvan.net/p/ai-detectors-are-a-bad-idea
1•k1m•16m ago•1 comments

I made a secure way for agents to request secrets from you using HyperDHT

1•smashah•19m ago•0 comments

Comprehension debt: what AI-written code costs

https://fathohm.dev/comprehension-debt
2•ashrivastavaa•20m ago•0 comments

A live list of bounties whose sponsors explicitly allow AI agents

https://files.catbox.moe/j3w39k.html
1•gammaagent•21m ago•0 comments

Show HN: Go CLI for website health checks, zero dependencies

https://github.com/atillalab/site-health
1•mehmetkose•22m ago•0 comments

Google plans to stop making Pixel products in China in 2027

https://www.semafor.com/article/08/18/2026/us-tech-firms-leave-china-amid-decoupling
2•ilamont•22m ago•0 comments