logoalt Hacker News

nine_klast Saturday at 8:35 PM3 repliesview on HN

Unless you can guarantee RTT under 100ms, you have to manage some state on client side, else your UI will feel sluggish.


Replies

freetoniklast Saturday at 10:09 PM

I’d rather have sluggish UI with proper feedback than potentially inconsistent states which I often experience with modern SPAs. At least that represents reality. Just today I was posting an ad on the local classifieds page, and the visual (client) state convinced me that everything was fast and my photos are uploaded. Turned out all state was lost and never reached the server, and I had to redo everything again.

const_castlast Saturday at 10:31 PM

It’s trivial to achieve under 100ms in the US with even just one server.

Most companies aren’t international.

show 1 reply
devnull3last Saturday at 11:08 PM

Barring the interactivity SPAs will also end up talking to server anyway. So even SPAs will feel sluggish in a high latency env.