[
https://issues.apache.org/jira/browse/CASSANDRA-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754272#comment-13754272
]
Ben Manes commented on CASSANDRA-5821:
--------------------------------------
That makes sense, Chris. Currently I don't expose any v8 methods, so the new
`long mappingCount()` method isn't exposed. You probably are not asking for the
count and only for better internal handling, right?
I plan on exposing more v8 style methods, but deferred that for this release
because I found two issues with computeIfAbsent(). I might try re-implementing
Guava Cache as a decorator on top of CLHM since its 33x-50x faster under a
synthetic load.
> Test new ConcurrentLinkedHashMap implementation (1.4RC)
> -------------------------------------------------------
>
> Key: CASSANDRA-5821
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5821
> Project: Cassandra
> Issue Type: Test
> Reporter: Ryan McGuire
> Assignee: Ryan McGuire
>
> There are some [improvements being made to CLHM|
> https://code.google.com/p/concurrentlinkedhashmap/source/detail?r=888ad7cebe5b509e5e713b00836f5df9f50baf32]
> that we should test.
> Create a small enough dataset that it can fit in memory and devise a test
> that has a high key cache hit rate, and compare results to CLHM 1.3 we
> already use.
--
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