2 Replies Latest reply on Oct 19, 2006 3:56 AM by fredrikj

    Buddy Replication

    fredrikj

      I am currently developing a system using the regular treecache. In the cache we store stateful objects. The nodes in the system all have a designated set of objects that the manipulate. In essence, the cache is mostly for fail-over reasons. Therefore I find that using buddy replication together with data gravitation proves to be a very good match (we are using 1.4).

      However, I would like to add a new type of node to the system, this node has a monitor-like role and needs to get periodical snapshots of all objects (and their state) in the cache. The monitor node will only perform read operations towards the cache.

      Now, my question is if anyone has any suggestion of the best way to set this up... Is it possible to 'mix' cache configurations so that the monitor node will not use buddy replication but rather get the complete cache or would this be a completely backward solution?

      Any input is welcome!

      / Fredrik Johansson

        • 1. Re: Buddy Replication
          manik

          Sadly mixing configurations for different nodes or regions of nodes is not supported at this time, although it is on the task list for some point in the future.

          For now, perhaps two different cache instances may do the trick? One set up with BR and the other not. Not sure if this helps your use case any though.

          • 2. Re: Buddy Replication
            fredrikj

            Well, at least I don't have find it out the hard way now...

            I'll guess I will start looking into other ways of propagating the state information needed through other channels, be it a second cache or something else.

            Cheers