16 ms·
Where are you connecting from, out of curiosity? 200ms is poor! Fly apps get anycast IPs, so it's basically bgp getting you to our "nearest" edge proxy, then w
by mrkurt 6y ago
Where are you connecting from, out of curiosity? 200ms is poor!
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 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.
- avinassh 6y agoI am connecting from India and my latency is about ~180ms
- mrkurt 6y agoIn a couple of months we'll have instances in Chennai!
- Moru 6y agoI'm connecting from Sweden and got about 40 ms. But now and then it peaks to 4000-8000 ms while my ping within the city stays at 2 ms.
- mrkurt 6y agoThose spikes are hilarious, they're probably from a liveview DoS. People are fond of using the debug console to "click" hundreds of times per second and there's no rate limiting in the app.
- MawKKe 6y agoFrom Finland: Through LTE I get served via 'fra' with ~60ms (as one might expect). However if I switch to Wifi I get 'hkg' with ~260ms?? Not exactly next-door :)
- frafra 6y agoSame here in Norway :)
- mrkurt 6y agoWould you mind emailing me with your IP address and a screenshot of what you see at https://debug.fly.io https://debug.fly.io when you're on wifi? Finland to hkg is not what we want to be doing. kurt fly.io
- iudqnolq 6y ago(not op) Is that link wrong? I'm getting ERR_NAME_NOT_RESOLVED. I tried with Vodafone mobile (UK), Openreach Wifi (UK), and a few other countries over a VPN (Canada, Australia, ...) in Firefox and Chrome.
- msmithstubbs 6y agoI’m in Brisbane and was expecting Singapore would be closer. Thanks for the reply.
- Lio 6y agoI'm not sure if this is in the realms of what Fly could do easily but I love the idea that for this kind of Liveview app you could monitor where your users actually are dynamically set up a close node to reduce latency. Bonus points if you could bring the node down again when usage drops.
- mrkurt 6y agoThis is actually how our autoscaling works. Since it works based on concurrent connections, it should be pretty good fore Liveview apps. https://fly.io/docs/reference/scaling/#autoscaling https://fly.io/docs/reference/scaling/#autoscaling