Giter Site home page Giter Site logo

Persistence about doozerd HOT 4 OPEN

ha avatar ha commented on September 10, 2024
Persistence

from doozerd.

Comments (4)

darkhelmet avatar darkhelmet commented on September 10, 2024

Even just a good way to dump/load everything. Would be useful to do backups (my use case is config data I'd rather not have to repopulate if something terrible happened, even with multiple nodes).

from doozerd.

cespare avatar cespare commented on September 10, 2024

You could implement dump/load using the API now.

from doozerd.

mreiferson avatar mreiferson commented on September 10, 2024

If you read through the commits from @4ad in https://github.com/4ad/doozerd he essentially comes to the conclusion that something like this doesn't belong (or need to be) in the core. I agree with this viewpoint.

I'm all for making it easy to backup (I happen to just use shell scripts with the command line client) but I think persistence as this issue intends should be handled separately (ie outside core doozerd).

from doozerd.

bernerdschaefer avatar bernerdschaefer commented on September 10, 2024

@mreiferson -- We at soundcloud are also doing out-of-band snapshot/journaling (with doozer-journal).

But this kind of solution -- and any alternative given the current core features -- has one major problem: sequence numbers are not preserved. If the cluster is restarted and rebuilt from an external source, all clients who attempt to use API calls which accept revisions will observe unexpected behavior.

from doozerd.

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.