3 Replies Latest reply on Feb 7, 2008 3:25 PM by nanreh

    REPL_ASYN replication question.

    nanreh

      Simple question: when using REPL_ASYNC, how long can I expect it to take for a cache to initiate replication after a local transaction commits? I haven't seen this answered in the documentation or this forum.

      I'm wondering if the cache initiates replication immediately following a local commit or if it batches changes in some way. If it does do batching, I'm hoping someone can roughly outline the algorithm used.

      thnx...
      n

        • 1. Re: REPL_ASYN replication question.
          mircea.markus

          By default cache replicates immediately after commit. The difference between ASYN and SYNC is that the former does not wait for the other members to acknowledge the replication and returns immediately.
          Batching can also be enabled, with "UseReplQueue" attribute. Take a look at "Configuration References" in the user guide for details on how this works.

          • 2. Re: REPL_ASYN replication question.
            hsaha

            Apart from what has been answered earlier ..
            -- if you need your changes to be replicated only after a certain number of changes happen, then use the UseReplQueue and ReplQueueMaxElements in the configuration.
            -- if you need the changes to be replicated after a specified interval use the ReplQueueInterval element

            • 3. Re: REPL_ASYN replication question.
              nanreh

              Great information, thanks for the replies.