logoalt Hacker News

childintime • today at 6:04 PM • 6 replies • view on HN

Is it time to kill the database and replace it with a LLM optimized compiled version that simply implements the required API directly in (Rust) code, without any dynamic overhead? It probably will still be based of off a base design or a base file format.

Ultimately this system will encompass the whole OS, of course, but the DB might be the best place to start.


Replies

tyre • today at 6:07 PM

You mean get rid of Postgres and build bespoke database-esque systems for every use case?

If so, then no. It is not time for that.

➕ show 1 reply
nemothekid • today at 6:33 PM

Instead of a database, the LLM will expose an api endpoint and build a database on demand?

That's interesting. Maybe to decrease latency the LLM could "cache" it's build of it's database and reuse in between instances. It could host this artifact on a "hub" of git trees and then any new use cases that come up, can be added to this git tree. Then it can possibly be reused in different use cases.

dymk • today at 6:22 PM

Is it time to get rid of hammers and replace them with swiss army knives?

➕ show 1 reply
bijowo1676 • today at 6:44 PM

SQLite already exists and some people use it

eatonphil • today at 6:23 PM

I have seen this happening already at two different companies. And I'm also doing it as well. Particularly for search indexes where there's no risk of data loss.

Ostatnigrosh • today at 6:14 PM

Unless you're tigerbeetle and want to handroll every single thing you do lol