Giter Club home page Giter Club logo

Comments (7)

agleyzer10 avatar agleyzer10 commented on July 28, 2024

Is this what you mean:

https://coherence.community/22.06-SNAPSHOT/docs/#/docs/core/09_backup

from coherence.

javafanboy avatar javafanboy commented on July 28, 2024

from coherence.

mgamanho avatar mgamanho commented on July 28, 2024

@javafanboy just as a follow up for clarification:

  • if neither scheduled-backups nor async-backup are set, then mutations will wait for backup requests to be performed before responding, regardless of number of backups. This can lead to slower response times on put/putAlls. async-backup still waits for backup requests to be sent before returning to the client. If your application is read-heavy then you won't be affected too much by this. scheduled-backups does not wait, but can lead to data loss in the time that backups are not done yet.

  • with "read-locator" there is a possibility to enter "dirty reads" situations, but I think you are already aware of that.

from coherence.

javafanboy avatar javafanboy commented on July 28, 2024

Thanks for the clarification!

from coherence.

javafanboy avatar javafanboy commented on July 28, 2024

from coherence.

thegridman avatar thegridman commented on July 28, 2024

Basically, yes, you need to have enough RAM to allow for the amount of failure you want to support. Assuming you have configured Coherence so it can be site safe (setting the coherence.site property) or rack safe (setting the coherence.rack property) then failure of a rack, say will mean the data is recovered from backups in the remaining racks, then new backups also allocated in the remaining racks. The only time backups will not be allocated is when you only have one JVM in the cluster. If Coherence did not do this, then when you lost a rack for example, then the data in the caches would be endangered until new members came up on a new rack, any other JVM departure during this time would cause data loss. We do have quorum configurations in Coherence that controls various behaviours, I'm not sure off the top of my head whether backups is one of them. I'll ask, or someone who knows can answer.

from coherence.

thegridman avatar thegridman commented on July 28, 2024

Also, I believe Coherence will not try to totally unbalance a cluster. For example say you had five cluster members on each of
two racks. The you lost four members on one rack leaving only one member on that rack and five on the other rack. I'm pretty sure Coherence would not try to allocate all the backups into the one renaming member on the rack.

from coherence.

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.