[infinispan-issues] [JBoss JIRA] (ISPN-2392) Optimize locking behaviour in non-transactional caches

Mircea Markus (JIRA) jira-events at lists.jboss.org
Tue Dec 18 14:11:08 EST 2012


    [ https://issues.jboss.org/browse/ISPN-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742250#comment-12742250 ] 

Mircea Markus commented on ISPN-2392:
-------------------------------------

ISPN-2552 solved this problem for distributed caches. For replicated caches you can use a degenerated cache of distributed caches by setting numOwners to a very high value(e.g. 10000 given that your cluster doesn't have that many nodes).
                
> Optimize locking behaviour in non-transactional caches
> ------------------------------------------------------
>
>                 Key: ISPN-2392
>                 URL: https://issues.jboss.org/browse/ISPN-2392
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Locking and Concurrency
>    Affects Versions: 5.2.0.Beta1
>            Reporter: Thomas Fromm
>            Assignee: Mircea Markus
>
> Situation: REPL_SYNC cache, non transactional, locking isolation level NONE
> Problem: when multiple threads trying to write same key on multiple nodes, the operation ends up mostly in locking timeouts
> Mircea mentioned that the locking behaviour for non-tx caches could be optimized as well as for tx-caches or use the same mechanisms.
> (One single lock, independed number of owners)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list