[infinispan-issues] [JBoss JIRA] (ISPN-2259) Async store is too slow

Radim Kolář (JIRA) jira-events at lists.jboss.org
Wed Nov 28 14:40:21 EST 2012


     [ https://issues.jboss.org/browse/ISPN-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Kolář updated ISPN-2259:
------------------------------

    Attachment: profiler.png


screenshot from profiler. If you profile it yourself you will discover several bugs in workflow. This one shows that you are reading at write path calling loadIfNeeded and this is trying to read from cachestore causing contention with another thread writing to cachestore. this kind datastore allows only one writing or reading operation at same time.
                
> Async store is too slow
> -----------------------
>
>                 Key: ISPN-2259
>                 URL: https://issues.jboss.org/browse/ISPN-2259
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 5.1.6.FINAL
>         Environment: Windows XP, Java 7
>            Reporter: Radim Kolář
>            Assignee: Galder Zamarreño
>              Labels: performance
>             Fix For: 6.0.0.Final
>
>         Attachments: profiler.png, testcase.zip
>
>
> Async support for loaders is too slow. I am writing 1000 items into cache backed by jdbm with modification queue size 10000 and it takes 6 seconds.

--
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