[infinispan-issues] [JBoss JIRA] (ISPN-1512) Optimisation: reduce the number of RPCs when using pessimistic locking

Mircea Markus (Created) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 07:58:45 EST 2011


Optimisation: reduce the number of RPCs when using pessimistic locking
----------------------------------------------------------------------

                 Key: ISPN-1512
                 URL: https://issues.jboss.org/browse/ISPN-1512
             Project: Infinispan
          Issue Type: Feature Request
    Affects Versions: 5.0.1.FINAL
            Reporter: Mircea Markus
            Assignee: Mircea Markus
             Fix For: 5.1.0.BETA4


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. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list