commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCS-104) LRUMemoryCache does not perform well in multi threads enviroment
Date Thu, 07 Feb 2013 08:05:12 GMT
Leon Ma created JCS-104:
---------------------------

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