commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCS-104) LRUMemoryCache does not perform well in multi threads enviroment
Date Fri, 08 Feb 2013 09:43:12 GMT

    [ https://issues.apache.org/jira/browse/JCS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574354#comment-13574354
] 

Thomas Vandahl commented on JCS-104:
------------------------------------

I would like to encourage you to provide a patch. Ideally, including a unit test that shows
the performance and stability under high parallel load.
                
> LRUMemoryCache does not perform well in multi threads enviroment
> ----------------------------------------------------------------
>
>                 Key: JCS-104
>                 URL: https://issues.apache.org/jira/browse/JCS-104
>             Project: Commons JCS
>          Issue Type: Improvement
>          Components: Composite Cache
>    Affects Versions: jcs-1.3
>            Reporter: Leon Ma
>
> Hi, Thomas
> I'm using JCS 1.3 and found the LRUMemoryCache.get() is synchronized.
> Also, the underlying map is HashTable.
> I have some lock contention when using multiple threads to hit cache.
> Do you have any plan to improve it? (maybe in 2.0.0 release?)
> Thanks
> Ma Leon

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

Mime
View raw message