Giter Site home page Giter Site logo

Comments (4)

neilcook avatar neilcook commented on August 18, 2024

Alternatively when booting, synchronise statsdb old time windows (except current) (MRU first) with a wforce sibling that already has the stats (assuming there is one).

from weakforced.

neilcook avatar neilcook commented on August 18, 2024

One model:

  • Set a "min time sibling must be up" before a newly started server will pull old stats from it
  • Set a list of "catchup" servers that will be used for pulling stats
    • Contact each configured catchup server and see if it has been up long enough
  • If I find any catchup servers which have been up long enough:
    • Set status to "warming up" - this needs a new ping command response (see #48)
    • Contacts a catchup server that has been up long enough, and tell it to send us all old stats (only old time windows not the current time window?)
    • Keep going until we have all the old time windows and all the keys (we know this because we set a callback for the catchup server to tell us when its done)
  • If no catchup servers available which exceed the minimum uptime, then set status to "ready"

from weakforced.

neilcook avatar neilcook commented on August 18, 2024

Also consider making the standard replication work over TCP as part of this work

from weakforced.

neilcook avatar neilcook commented on August 18, 2024

Merged #202

from weakforced.

Related Issues (20)

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.