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!

The Coxon psyop was a decade and more than a billion dollars in the making

https://xcancel.com/antibot/captcha
1•thelastgallon•1m ago•0 comments

Jeff Bezos Earned His Amazon Fortune

https://humanprogress.org/jeff-bezos-earned-his-fortune/
1•gmays•2m ago•0 comments

Pedagogy in the Age of AI [video]

https://www.youtube.com/watch?v=N2a1J0UPeL4
1•sumanthvepa•9m ago•0 comments

I'm an AI agent. I just fired myself from the business I built [video]

https://www.youtube.com/watch?v=p5mWb7ksSTM
1•bhkerr•11m ago•0 comments

Signing the Transaction but Not the Decision: Whisper Attacks and a Binding

https://arxiv.org/abs/2609.11757
1•sbulaev•18m ago•0 comments

The Air Computer

https://jordanwtaylor2.substack.com/p/the-air-computer
1•signa11•20m ago•0 comments

Can you make the machine break the rules? – A public authorization challenge

https://max-authorization-challenge.ctfd.io/
1•max-russo•20m ago•0 comments

I was just pressing continue

https://yupanqui.xyz/pressing-continue
1•yupanqui•24m ago•0 comments

When Anyone Can Build Software, Who Decides What Not to Build?

https://architectureintel.com/when-anyone-can-build-software-who-decides-what-not-to-build-ae07fd...
1•younss•25m ago•0 comments

A Mathematician's Lament (2002) [pdf]

https://profkeithdevlin.org/wp-content/uploads/2023/09/lockhartslament.pdf
2•xeonmc•26m ago•0 comments

Show HN: Weftgate, a local verification gate for coding agents

https://github.com/Avinash-Amudala/weftgate
1•Avinashamudala•34m ago•0 comments

Show HN: Forma ONNX Graph Viewer and Editor

https://github.com/Hussain004/forma
2•Hussain04•35m ago•1 comments

The night 142 of my servers went up in the clouds Physically

https://exquisite.tube/w/nQbc54t4G7YGaqiryZ7mg1
1•jaypatelani•37m ago•0 comments

Sony's First Computer – The SMC-70 from 1982 [video]

https://www.youtube.com/watch?v=cT2-7KkPkBc
1•ksymph•37m ago•0 comments

Why Egyptian farmers are growing crops under solar panels

https://grist.org/energy/why-egyptian-farmers-are-growing-crops-under-solar-panels/
2•thunderbong•38m ago•0 comments

Influential people don't network, they build social capital

https://www.thecaringtechie.com/p/influential-people-build-social-capital
2•AntonZ234•44m ago•0 comments

V and P Industry contract manufacturing

https://vnpindustry.com/
2•vrathee•47m ago•0 comments

David Sacks to AI Labs: "Stop pretending you need anyone else's permission"

https://xcancel.com/DavidSacks/status/2098973625252708460#m
5•ozozozd•47m ago•0 comments

Show HN: SubSweep – find recurring charges in an Australian bank statement CSV

https://www.subsweep.com.au
1•jqadan•48m ago•0 comments

Ask HN: C or C++?

1•skwasimin•51m ago•2 comments

Show HN: Hindsight – Explore how YouTube channels discuss issues over time

https://github.com/brishtiteveja/hindsight
1•andy0595•58m ago•0 comments

Zig Guide Live: Every Snippet Verified Against Master

https://www.ziglang.in/
2•rguiscard•1h ago•1 comments

Ask HN: What Makes a CTO?

https://heltes.com/mapapp/what_makes_a_cto/
1•heltale•1h ago•0 comments

Neural Turing Machines (2014)

https://arxiv.org/abs/1410.5401
4•peter_d_sherman•1h ago•0 comments

Schott Glass, Russian Lenses, and a Jupiter 5 Do Over

https://www.leicalensesfornormalpeople.com/2022/01/18/schott-glass-russian-lenses-and-a-jupiter-5...
1•andsoitis•1h ago•0 comments

The Great Google Scam: The "Delete" Button That Deletes Nothing

https://medium.com/@istokovicsgyorgy79/the-great-google-scam-the-delete-button-that-actually-dele...
3•Bitu79•1h ago•1 comments

Too much light at night changes the shape and working of the heart

https://www.escardio.org/news/press/press-releases/too-much-light-at-night-changes-the-shape-and-...
2•Markoff•1h ago•0 comments

Unsafe at Any Speed

https://en.wikipedia.org/wiki/Unsafe_at_Any_Speed
1•js2•1h ago•0 comments

Claude AIs tricked into unescapable conversation [beginning: Ctrl^F to "AI 1"]

https://www.thisamericanlife.org/896/transcript
4•alister•1h ago•0 comments

Show HN: The hacker who took 3,998 BTC is texting Blockstream on-chain, live

https://liquidsaga.miguelmedeiros.dev
1•miguelmedeiros•1h ago•0 comments