-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latency tests don't work as intended (mirror auto-selection) #29
Comments
The problem may be related to CDNs like cloudflare. If the connection is not made to the actual mirror, but just the CDN, then the latency will obviously be very low. This doesn't necessarily mean that this is an apt mirror for this particular user: Maybe the CDN was just able to deliver the One option would be to simply exclude all mirrors that use cloudflare: https://www.cloudflare.com/ips/. In our application, the |
Another thing to consider:
|
A few improvements have been made in this regard, so if you previously had issues, then please upgrade Flexo, delete the Improvements so far:
I just tested this by running flexo on a server located in Australia, and on another server located in the US, and the results where as expected: The server from Australia only uses mirrors from Australia, and the server located in the US only uses mirrors located in the US and Canada. |
The latency tests are intended to select low-latency mirrors, so we would expect users from the USA to get mirrors from America, users from Australia to get users from Australia, etc. Apparently, this is not the case: See #28
The text was updated successfully, but these errors were encountered: