Code Monkey home page Code Monkey logo

ceph-http-geo-redirect's People

Contributors

isodude avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ceph-http-geo-redirect's Issues

Adding NL mirror leaves DE mirror with nothing

With NL:

$ cat geoip.lst | cut -d ' ' -f 2 | sort | uniq -c
44794 AU
96496 CZ
2524 DE
1238369 EU
105465 FR
183683 HK
94546 SE
39532 UK
1250980 US

Without NL:

$ cat geoip.lst | cut -d ' ' -f 2 | sort | uniq -c
44794 AU
96496 CZ
1240893 DE
105465 FR
183683 HK
94546 SE
39532 UK
1250980 US

What I would like to see is NL taking a bit of DE instead of everything. Maybe introduce some sort of penalty when it's no balance between the mirrors?

I guess CN is taken care by the US mirror, so not much to do there.

How should HAProxy react when the rsync source is offline?

The purpose of mirrors is to keep the data available for end users.
At the same time we don't want mirrors in the loop that are out of sync.

How does one handle that the rsync source is not available? It's even worse if rsync was firewalled, but not HTTP.

One idea comes to mind and that is to use the timestamps from all the other mirrors instead and pick the latest one. No mirror should be behind more than 6-12 hours from that server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.