Hacker News new | ask | show | jobs
by mrkurt 1880 days 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 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.

5 comments

I'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.

This 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

From 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 :)
Would you mind emailing me with your IP address and a screenshot of what you see at https://debug.fly.io when you're on wifi? Finland to hkg is not what we want to be doing.

kurt fly.io

(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.
Oops, yes this.
Same here in Norway :)
I'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.
Those 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.
I’m in Brisbane and was expecting Singapore would be closer. Thanks for the reply.
I am connecting from India and my latency is about ~180ms
In a couple of months we'll have instances in Chennai!