4 ms·
Most apps nowadays are HTTP APIs on top of a database, which means we have one networking layer – the HTTP API – on top of another networking layer – the databa
by ngrilly 4y ago
Most apps nowadays are HTTP APIs on top of a database, which means we have one networking layer – the HTTP API – on top of another networking layer – the database protocol. The idea behind using SQLite is to just skip the latter, which is simplifying the stack significantly and reducing the database latency, which is making things like 1+n not a problem anymore.
With a tool like LiteFS, it is now possible to get replication done by a sidecar process: https://fly.io/docs/litefs/ https://fly.io/docs/litefs/