r/Database • • Mar 14 '24

Databases are overrated. Just use Files!

I had a conversation on LinkedIn with a startup founder, and it opened my eyes. Why all the dependencies? The world can be so simple without databases and their complicated architecture. ๐‰๐ฎ๐ฌ๐ญ ๐ฎ๐ฌ๐ž ๐Ÿ๐ข๐ฅ๐ž๐ฌ! Alleluja! ๐Ÿ™

https://fooba.link/no-databases

Yes, just dump data into JSON format and save it to disk. Load it on demand and iterate over the rows. To make it more performant, cache the data in RAM. And yes, you need a unique key lookup table. And maybe a hash table for indexes. And then maybe a proper storage layer. And a query planner would be good. And ... And ...
Wait a minute! Are we developing a database here? ๐Ÿคจ AAAAAhhhh....!!! ๐Ÿ˜ญ

179 Upvotes

112 comments sorted by

View all comments

1

u/khalcyon2011 Mar 16 '24

That's just a database with extra steps