Comment

Comment by mathgladiator

I believe using a large JSON file is not half bad, but you do run into the problem of how do you index and query it in meaningful. I actually ran into this problem when building a game because a document doesn't provide a great model..

The relational model is... JUST... SO... GOOD. And, it is a shame that most of the relational systems are so complicated.

A document within Adama (https://www.adama-platform.com/) is basically a giant JSON file held within memory with clients connected via a WebSocket. I'm basically building my own indexing since I want the indexing to be reactive, and I've got exceptionally fun optimization problems.

Litestream, in my opinion, is a great way to get started. Actually, it's beyond fantastic if you maintain the 1 server to 1 database because migrations become so easy. So, I applaud the team for taking this simple approach.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton