Liveview is crazy powerful if you can keep the latency down.
Liveview is crazy powerful if you can keep the latency down.
The less latency the better, though, of course. I'm seeing roughly 80ms, which is very good.
HTTP/2 has this by default, and allows multiplexing multiple requests on a single connection, so even making multiple parallel calls won't require establishing new connections.
Basically, performance between AJAX and web sockets should be comparable in most cases.
Fly apps get anycast IPs, so it's basically bgp getting you to our "nearest" edge proxy, then we connect you to the closest vm from there.
https://debug.fly.dev will show you which region you hit first (the fly-region request header).
--edit--
I snooped on your HN profile and found Australia. We don't have an instance of this app up in AU, but we could. You're likely connecting to us in Sydney, and LAX is most likely the fastest over our backhaul from there.
kurt fly.io
Bonus points if you could bring the node down again when usage drops.