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!

(RFC+Hiring+Raising) Hyper Terawatt:Piston-Less V8 Engine Architecture

https://drive.google.com/file/d/18pYk3csOIm82M957FKuYJeTAZ6LCFh8-/view?usp=sharing
1•117l11•9m ago•0 comments

Phase.rs – a full featured MTG SIM in Rust

https://github.com/phase-rs/phase
1•dirteater_•19m ago•0 comments

Even More Formal Verification for BPF

https://lwn.net/Articles/1087069/
1•pykello•20m ago•0 comments

Grep: Structural Code Search

https://grep.codemod.com/
1•handfuloflight•23m ago•0 comments

How to archive Everything and share It

https://aramzs.github.io/steal-the-internet/
1•toomuchtodo•28m ago•1 comments

Passive 3D Thermal "Cloak" Hides Objects from Heat, from Any Direction

https://www.electronicdesign.com/technologies/power/article/55399858/electronic-design-passive-3d...
1•WaitWaitWha•28m ago•0 comments

Ask HN: Anyone set up ways to easily obtain and read transcripts from Ted, YT?

1•MollyRealized•30m ago•1 comments

Show HN: LayoutLens: AI-Powered Visual UI Testing

https://github.com/gojiplus/layoutlens
1•neehao•30m ago•0 comments

I Dream of Quieter Computing

https://henry.codes/writing/i-dream-of-quieter-computing/
2•Sir_Twist•31m ago•0 comments

Edify – Windows NLE: OpenFX, proxy editing, AI subs, vtuber tools ($29.99 once)

https://apps.microsoft.com/detail/9nkkk5k5s4ct?hl=en-US&gl=US
1•edify_nle•37m ago•0 comments

AI Chip Architectures

https://www.jepeake.com/ai-chip-architectures
1•Finbarr•39m ago•0 comments

Compactor: A user interface for Windows 10 filesystem compression

https://github.com/Freaky/Compactor
1•thunderbong•40m ago•0 comments

Neutron stars: smoother than billiard balls – unfortunately

https://ligo.org/science-summaries/o4aallskyisolatedcw/
2•raattgift•41m ago•0 comments

Heeramandi: The Diamond Bazaar (Lahore, Pakistan) [video]

https://www.youtube.com/watch?v=Sz064J6qRdQ
1•tkgally•42m ago•1 comments

JobSearch

3•OffixialUnknown•49m ago•3 comments

Psychological Coupling

https://osf.io/preprints/psyarxiv/695gp_v1
1•silverpiranha•50m ago•0 comments

Credit Without Ground Truth: Auditing Step-Level Credit Assignment in LLM Agents

https://arxiv.org/abs/2608.19760
1•sbulaev•57m ago•0 comments

The incoming Developer Experience revolution

https://kwojcicki.github.io/blog/NEW-AGE-OF-DEV-EX
1•kwojcicki•1h ago•0 comments

Why can AI generate Super Mario but not a wedge ramp for my robot vacuum?

2•zhuchaokn•1h ago•0 comments

Show HN: CtrlTool – 132 free online tools for developers and everyday tasks

https://ctrltool.wtf
1•jetroni•1h ago•0 comments

Apple degrades privacy and encryption of iMessage with AI integrations

https://twitter.com/stevemoraco/status/2091194172917338520
2•daniel_iversen•1h ago•1 comments

Treat AI Like an Intern, Not Software: A Stanford Professor's Guide

https://pixelum.substack.com/p/treat-ai-like-an-intern-not-software
1•mooreds•1h ago•2 comments

Microsoft Entra ID Remote Code Execution Vulnerability

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69836
3•mooreds•1h ago•1 comments

Signing JSON Web Tokens: Algorithm Tradeoffs, Performance, and Security

https://ciamweekly.substack.com/p/signing-json-web-tokens-algorithm
1•mooreds•1h ago•0 comments

FERC approves SPP 'topology optimization' plan for cutting grid congestion

https://www.utilitydive.com/news/ferc-spp-topology-optimization-grid-congestion/828366/
1•toomuchtodo•1h ago•1 comments

Show HN: Hands-Rust MCP/CLI that sees the Windows desktop and clicks real Chrome

1•ryan-b•1h ago•0 comments

Show HN: Agent2Creator – a video social network whose members are AI agents

https://agent2creator.vidmoat.com
2•abilafredkb•2h ago•3 comments

Drones with Claws

https://spectrum.ieee.org/arctic-iceberg-drones
1•asdefghyk•2h ago•1 comments

The Art and Beauty of Blade Runner

https://nappertime.com/the-art-of-and-beauty-of-blade-runner/
3•cocacola1•2h ago•0 comments

Verbatim: What Is a Photocopier?

https://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html
2•grubbs•2h ago•0 comments