|
|
|
|
|
by jitl
4 days ago
|
|
you can home tenants in a data center close to them, run a copy of your app in each region including the datastore. keep a central db for accounts, billing, etc but user content is easy enough to shard regionally. taken to extreme, cloudflare durable objects & workers let you place data very close to a tenant automatically; but you lose total write throughput on top of sqlite. |
|
Optimistic updates on the frontend are probably simpler too.