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

Optimisation: reduce the number of RPCs when using pessimistic locking

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            mircea.markus Mircea Markus (Inactive)
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: