| ▲ | zkmon 15 hours ago |
| Similar to Single-page applications (SPA), single-table application (STA) might become a thing. Just a shard a table on multiple keys and serve the shards as static files, provided that the data is Ok to share, similar to sharing static html content. |
|
| ▲ | jhd3 14 hours ago | parent | next [-] |
| [The Baked Data architectural pattern](https://simonwillison.net/2021/Jul/28/baked-data/) |
|
| ▲ | jesprenj 14 hours ago | parent | prev [-] |
| do you mean single database? it'd be quite hard if not impossible to make applications using a single table (no relations). reddit did it though, they have a huge table of "things" iirc. |
| |
| ▲ | mburns 14 hours ago | parent [-] | | That is a common misconception. > Next, we've got more than just two tables. The quote/paraphrase doesn't make it clear, but we've got two tables per thing. That means Accounts have an "account_thing" and an "account_data" table, Subreddits have a "subreddit_thing" and "subreddit_data" table, etc. https://www.reddit.com/r/programming/comments/z9sm8/comment/... | | |
| ▲ | rplnt 13 hours ago | parent [-] | | And the important lesson from that the k/v-like aspect of it. That the "schema" is horizontal (is that a thing?) and not column-based. But I actually only read it on their blog IIRC and never even got the full details - that there's still a third ID column. Thanks for the link. |
|
|