Re:I'm All-In on Server-Side SQLite (2022)
by ngrilly on Friday September 22, 2023 @03:01PM
(#37616232)
Which is exactly where SQLite shines, but I guess that was your point:
https://www.sqlite.org/np1queryprob.html
In my experience SQL databases are pretty poor at executing the kinds of deeply nested joins needed to return all of the data needed to render more complex UIs. It almost always ends up being faster to simply make nested selects in batches. So latency ends up mattering in these cases.
You can work around this by denormalizing the data, but this often explodes your data size.