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!

Web app that lets you upload a song, pick an instrument and start practising

https://midi.falsaclub.com/
1•paratharoll•3m ago•1 comments

Show HN: Quick Image Kit – browser-local image tools for upload forms

https://quickimagekit.com
1•mainliufeng•7m ago•0 comments

Teenage Engineering Is Going to Stop Making Synths

https://www.highsnobiety.com/p/teenage-engineering-interview/
1•CharlesW•8m ago•0 comments

SQL Injection found on ibm.com subdomain

https://hackerone.com/reports/3662090
2•razorsa•13m ago•0 comments

Blood cells from 80-year-old donor become stem cells with molecular age under 20

https://doi.org/10.1111/acel.70751
6•arunc•15m ago•0 comments

CS2680 Modern AI Systems: Agents and System Optimizations

https://cs2680.seas.harvard.edu/
2•shenli3514•16m ago•0 comments

Show HN: Personal Agent Proxy (Open Source)

https://github.com/personalagentproxy/proxy
1•arnestrickmann•18m ago•0 comments

Show HN: PickyCal – Filter upcoming and future events into your calendar

https://pickycal.com/
1•clash•18m ago•0 comments

The Mystery of the Unknown Sailor Who Inspired Trump to Shake Up the Navy

https://www.wsj.com/politics/policy/the-mystery-of-the-unknown-sailor-who-inspired-trump-to-shake...
1•lt_snuffles•22m ago•0 comments

Show HN: Indigene – native plants for where you stand

https://indigene.app/
1•olivierlacan•24m ago•0 comments

A shared, verifiable fix database that AI agents read and write themselves

https://cuddly-guide-4q6q54rg76653jvxj-8000.app.github.dev/llms.txt
1•glopercio•27m ago•0 comments

Show HN: An experimental pattern-first DAW that supports MCP

https://github.com/andrewfader/blokkily
1•androsynth89•28m ago•0 comments

Llmtobinary – get an LLM to write machine code

https://llmtobinary.com?hn
1•thomasfromcdnjs•29m ago•1 comments

OSS Scanner

https://red.anthropic.com/oss-scanner/
2•flourish_dev•30m ago•0 comments

Show HN: I ran the same founder dilemma through ChatGPT, Claude, and BAAB AI

https://askbaab.com/blog/same-prompt-test-chatgpt-claude-baab-ai
1•chumze•33m ago•0 comments

Felicity – Photo organizer for Windows with face grouping and pro-level accuracy

https://github.com/revoconner/Felicity
1•voidmain0001•34m ago•0 comments

Faked images of Neurons in major journals [video]

https://www.youtube.com/watch?v=4g_1_AWOVpI
1•anitil•34m ago•1 comments

Bicameral Mentality

https://en.wikipedia.org/wiki/Bicameral_mentality
1•aggrrrh•40m ago•0 comments

Launching Tomorrow: Cronomonitor.com

https://cronomonitor.com
1•iambenc•42m ago•0 comments

GPT-6 Astra Helped Me Jailbreak My Kindle

https://nirajrajgor.com/blog/kindle-photo-frame-with-ai
1•nirajrajgor•42m ago•0 comments

Show HN: Explore Bay Area traffic trends and patterns

https://benkrasnow.github.io/Bay_Area_traffic_data/
2•bkraz•46m ago•0 comments

Canadian AI company turns away from U.S. government work amid trade tensions

https://globalnews.ca/news/12098107/canadian-ai-company-caseway-turns-away-u-s/
3•ClearwayLaw•47m ago•1 comments

The X Subscription

https://x.ai/news/x-subscription
2•JustSkyfall•53m ago•1 comments

Why AI doesn't make companies more productive

https://www.computerworld.com/article/4215022/why-ai-doesnt-make-companies-more-productive.html
2•nobody9999•58m ago•2 comments

Veda: First AI Agentic Hobby OS

https://github.com/vahmoh25/Veda/blob/main/README.md
2•vahmohh2•58m ago•0 comments

I built a new feature for my blog using my voice

https://simonw.substack.com/p/i-built-a-new-feature-for-my-blog
1•cocacola1•58m ago•0 comments

I made some light weight unity C# code editor

https://github.com/CodyDream/VelvetSharp
1•pkmgjyiuk•59m ago•0 comments

I update my projects easily

https://cx-shipd.netlify.app
1•CX-Designs•59m ago•0 comments

OpenKylin: The AI Agent Linux Desktop

https://techstrong.ai/articles/openkylin-the-ai-agent-linux-desktop/
3•CrankyBear•1h ago•0 comments

AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-...
3•squiwardStan5•1h ago•0 comments