1 Reply Latest reply: Oct 7, 2013 9:41 AM by Ricardo Ferreira-Oracle RSS

    Behaviour of QueueDelay in write-behind

    michael gerber2


      We have an embedded write-behind cache with multiple instances. The QueueDelay parameter was initially 1, but it has been increased recently through JMX to decrease the number of DB calls. The QueueDelay was increased to 864000 which successfully stopped the application to persist objects. Now, when we set the QueueDelay back to 1, it does not persist anything, the size of the queue is still growing.

      Question1: is there any easy way to force the cache to persist these items? JMX-settings?

      Question2: in case of application restarts the node will persist everything from the queue first, and only after that will stop. Is it safe to do this way? (if there is no better option)

      Platform: Coherence and Oracle DB 10g.









        <local-scheme />

















        • 1. Re: Behaviour of QueueDelay in write-behind
          Ricardo Ferreira-Oracle

          Is there any contextual transactional scope that Coherence is participating, such as global XA transactions?


          Or, we are just talking about simple puts() that creates/updates objects in the distributed cache?


          If the first option is true, your ReadWriteBackingMapScheme maybe is affected but transaction locks that suspend transactions before everything else is committed.


          I believe that with a graceful shutdown, Coherence will flush pending transactions first, before actually shutdown the Coherence services and the JVM itself.




          Ricardo Ferreira