top | item 39975951

(no title)

danappelxx | 1 year ago

Unless your database is in the browser, you are always going to be at mercy of network latencies talking to the backend.

discuss

order

tptacek|1 year ago

You're just saying, even if all you were doing was fetching a static JSON blob from the memory of the frontend server, you'd still want load states, right? (That makes sense, I'm just checking my understanding.)

danappelxx|1 year ago

Yup, exactly. Phones change wifi networks, routers drop packets, load balancers get overloaded. Hard to fully eliminate tail latencies.

az09mugen|1 year ago

You can with sqlite in webassembly

shepherdjerred|1 year ago

In theory, but there are still a lot of sharp edges. e.g. I wanted to use sqlite in-browser with an ORM, but few ORMs support such a setup.