Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1512

Optimisation: reduce the number of RPCs when using pessimistic locking

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Right now, with pessimistic locking:

      TransactionManager.begin()
      Object k = cache.put(k,v); //this performs two RPCs to same nodes: a ClusterGetCommand and an LockControlCommand.

      The two RPCs can be merged together.
      Whilst this is an optimisation, it is quite an important one as it has an major impact on performance on every put.

              mircea.markus Mircea Markus (Inactive)
              mircea.markus Mircea Markus (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: