[jira] [Commented] (CASSANDRA-15153) Ensure Caffeine cache does not return stale entries

2021-09-17 Thread Ben Manes (Jira)
[ https://issues.apache.org/jira/browse/CASSANDRA-15153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17416868#comment-17416868 ] Ben Manes commented on CASSANDRA-15153: --- Sorry for the bug here. There are so many moving

[jira] [Comment Edited] (CASSANDRA-16154) OOM Error (Direct buffer memory) during intensive reading from large SSTables

2020-11-29 Thread Ben Manes (Jira)
[ https://issues.apache.org/jira/browse/CASSANDRA-16154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240198#comment-17240198 ] Ben Manes edited comment on CASSANDRA-16154 at 11/29/20, 9:05 AM: --

[jira] [Commented] (CASSANDRA-16154) OOM Error (Direct buffer memory) during intensive reading from large SSTables

2020-11-29 Thread Ben Manes (Jira)
[ https://issues.apache.org/jira/browse/CASSANDRA-16154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240198#comment-17240198 ] Ben Manes commented on CASSANDRA-16154: --- Caffeine uses a write buffer to replay hash table

[jira] [Commented] (CASSANDRA-15177) Reloading of auth caches happens on the calling thread

2019-06-24 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-15177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16871194#comment-16871194 ] Ben Manes commented on CASSANDRA-15177: --- Oh of course. There was a request at some point to

[jira] [Commented] (CASSANDRA-15177) Reloading of auth caches happens on the calling thread

2019-06-23 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-15177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16870788#comment-16870788 ] Ben Manes commented on CASSANDRA-15177: --- If you implement CacheLoader, you can override

[jira] [Commented] (CASSANDRA-13445) validation executor thread is stuck

2017-04-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-13445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15968288#comment-15968288 ] Ben Manes commented on CASSANDRA-13445: --- Perhaps this was probably supposed to be {{!=}}, since

[jira] [Commented] (CASSANDRA-13445) validation executor thread is stuck

2017-04-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-13445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15968065#comment-15968065 ] Ben Manes commented on CASSANDRA-13445: --- If you can make a reproducible unit test that would

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-12-31 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15789855#comment-15789855 ] Ben Manes commented on CASSANDRA-10855: --- LGTM > Use Caffeine (W-TinyLFU) for on-heap caches >

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-12-31 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15789277#comment-15789277 ] Ben Manes commented on CASSANDRA-10855: --- Good observation [~snazy]. Yes, RE is propagated as

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-12-17 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15756924#comment-15756924 ] Ben Manes commented on CASSANDRA-10855: --- I think it's on your plate.

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-11-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15642116#comment-15642116 ] Ben Manes commented on CASSANDRA-10855: --- The penalty is small. In CLHM (and Guava) we didn't

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-11-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15642095#comment-15642095 ] Ben Manes commented on CASSANDRA-10855: --- {quote} I've added

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-30 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15621068#comment-15621068 ] Ben Manes commented on CASSANDRA-10855: --- Released 2.3.4 with JCTools fix. Please revisit. >

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-24 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15602688#comment-15602688 ] Ben Manes commented on CASSANDRA-10855: --- The test failure might be due to delegating

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569354#comment-15569354 ] Ben Manes commented on CASSANDRA-10855: --- Thanks. Fixed by updating the build.xml and removing

[jira] [Updated] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Manes updated CASSANDRA-10855: -- Attachment: CASSANDRA-10855.patch > Use Caffeine (W-TinyLFU) for on-heap caches >

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568181#comment-15568181 ] Ben Manes commented on CASSANDRA-10855: --- I rebased and updated the jar in the PR. It's the same

[jira] [Updated] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Manes updated CASSANDRA-10855: -- Attachment: CASSANDRA-10855.patch > Use Caffeine (W-TinyLFU) for on-heap caches >

[jira] [Updated] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-10-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Manes updated CASSANDRA-10855: -- Status: Patch Available (was: Open) > Use Caffeine (W-TinyLFU) for on-heap caches >

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-07-16 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15381078#comment-15381078 ] Ben Manes commented on CASSANDRA-10855: --- Any remaining blockers? > Use Caffeine (W-TinyLFU)

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-05-07 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15275473#comment-15275473 ] Ben Manes commented on CASSANDRA-10855: --- [~blambov] [integrated |

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-27 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261535#comment-15261535 ] Ben Manes commented on CASSANDRA-11452: --- Branimir, I assume you're referring to preferring the

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-24 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15255723#comment-15255723 ] Ben Manes commented on CASSANDRA-11452: --- Chatted with Roy and below is his analysis. I tried

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-04-17 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244885#comment-15244885 ] Ben Manes commented on CASSANDRA-10855: --- We added protection against a HashDoS attack, thanks

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-16 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244463#comment-15244463 ] Ben Manes commented on CASSANDRA-11452: --- I checked in our fix and I'll release after we hear

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-16 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244406#comment-15244406 ] Ben Manes commented on CASSANDRA-11452: --- It definitely would be nice to be able to reduce the

[jira] [Comment Edited] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-16 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244357#comment-15244357 ] Ben Manes edited comment on CASSANDRA-11452 at 4/16/16 7:46 PM: CLHM

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-16 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244357#comment-15244357 ] Ben Manes commented on CASSANDRA-11452: --- CLHM was always a decorator, but in 1.4 it embedded

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-15 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243989#comment-15243989 ] Ben Manes commented on CASSANDRA-11452: --- The hash table trick isn't applicable since I didn't

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-15 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243798#comment-15243798 ] Ben Manes commented on CASSANDRA-11452: --- I was able to sneak in a little

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-15 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15242647#comment-15242647 ] Ben Manes commented on CASSANDRA-11452: --- Oh sheesh, of course. I'm sorry that I'm so dense this

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-15 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15242600#comment-15242600 ] Ben Manes commented on CASSANDRA-11452: --- I chatted with Roy about this problem and he's going

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15242133#comment-15242133 ] Ben Manes commented on CASSANDRA-11452: --- {{quote}} I think it's better for the jitter to not

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241872#comment-15241872 ] Ben Manes commented on CASSANDRA-11452: --- Thanks. I won't have the bandwidth to test this until

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241524#comment-15241524 ] Ben Manes commented on CASSANDRA-11452: --- Sorry if I'm being a bit obtuse. If you write a short

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241521#comment-15241521 ] Ben Manes commented on CASSANDRA-11452: --- I assumed that it would be acceptable to reduce the

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241420#comment-15241420 ] Ben Manes commented on CASSANDRA-11452: --- For large traces the difference is marginal, with s3

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240902#comment-15240902 ] Ben Manes commented on CASSANDRA-11452: --- The simple hack recycling when the hash codes are

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240860#comment-15240860 ] Ben Manes commented on CASSANDRA-11452: --- Yes, a custom interface to define a {{longHashCode()}}

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240841#comment-15240841 ] Ben Manes commented on CASSANDRA-11452: --- I did mention the attack vector during the revision,

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240829#comment-15240829 ] Ben Manes commented on CASSANDRA-11452: --- If you are comfortable with Caffeine regardless of the

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240823#comment-15240823 ] Ben Manes commented on CASSANDRA-11452: --- Neither the original nor revised papers are clear

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15238285#comment-15238285 ] Ben Manes commented on CASSANDRA-11452: --- For the case of 128mb cache with 190mb data set, the

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15237796#comment-15237796 ] Ben Manes commented on CASSANDRA-11452: --- h5. Heavy CPU This only occurs in synthetic stress

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-04-10 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15234296#comment-15234296 ] Ben Manes commented on CASSANDRA-10855: --- When Cassandra moves to TPC, it should take less than

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-04-10 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15234277#comment-15234277 ] Ben Manes commented on CASSANDRA-10855: --- Some unfortunate duplication of work on the DataStax

[jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache

2016-04-10 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15234269#comment-15234269 ] Ben Manes commented on CASSANDRA-11452: ---

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-03-03 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15178101#comment-15178101 ] Ben Manes commented on CASSANDRA-10855: --- It sounds like we all thought Weibull was a good

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-02-07 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15136182#comment-15136182 ] Ben Manes commented on CASSANDRA-10855: --- I think Weibull should be fine, too. I rebased the

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-01-25 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15115737#comment-15115737 ] Ben Manes commented on CASSANDRA-10855: ---

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-01-07 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15087252#comment-15087252 ] Ben Manes commented on CASSANDRA-10855: --- The latest [snapshot

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-01-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15086242#comment-15086242 ] Ben Manes commented on CASSANDRA-10855: --- Happy new year. Anything I can do to help keep this

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2016-01-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15086276#comment-15086276 ] Ben Manes commented on CASSANDRA-10855: --- cstar returns "Internal Server Error" so I can't look

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2015-12-25 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15071747#comment-15071747 ] Ben Manes commented on CASSANDRA-10855: --- Do you know why the hit rate is so poor? It being low

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2015-12-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15056445#comment-15056445 ] Ben Manes commented on CASSANDRA-10855: --- A little background from private discussions with

[jira] [Created] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2015-12-13 Thread Ben Manes (JIRA)
Ben Manes created CASSANDRA-10855: - Summary: Use Caffeine (W-TinyLFU) for on-heap caches Key: CASSANDRA-10855 URL: https://issues.apache.org/jira/browse/CASSANDRA-10855 Project: Cassandra

[jira] [Commented] (CASSANDRA-10855) Use Caffeine (W-TinyLFU) for on-heap caches

2015-12-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15055546#comment-15055546 ] Ben Manes commented on CASSANDRA-10855: --- See the [pull

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-09-17 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13770072#comment-13770072 ] Ben Manes commented on CASSANDRA-5661: -- sounds good to me.

[jira] [Commented] (CASSANDRA-5821) Test new ConcurrentLinkedHashMap implementation (1.4RC)

2013-09-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767081#comment-13767081 ] Ben Manes commented on CASSANDRA-5821: -- yes, released as v1.4

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-08-29 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13753423#comment-13753423 ] Ben Manes commented on CASSANDRA-5661: -- Sorry that I haven't had the time to work

[jira] [Commented] (CASSANDRA-5821) Test new ConcurrentLinkedHashMap implementation (1.4RC)

2013-08-29 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13754272#comment-13754272 ] Ben Manes commented on CASSANDRA-5821: -- That makes sense, Chris. Currently I

[jira] [Commented] (CASSANDRA-5821) Test new ConcurrentLinkedHashMap implementation (1.4RC)

2013-08-26 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13750940#comment-13750940 ] Ben Manes commented on CASSANDRA-5821: -- Thanks Ryan. This makes sense as the goal

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-08-09 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13735727#comment-13735727 ] Ben Manes commented on CASSANDRA-5661: -- EBS is 28% faster than LTQ. There might

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-08-08 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13733830#comment-13733830 ] Ben Manes commented on CASSANDRA-5661: -- My benchmark had a bug and EBS may only

[jira] [Commented] (CASSANDRA-5821) Test new ConcurrentLinkedHashMap implementation (1.4RC)

2013-08-03 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13728484#comment-13728484 ] Ben Manes commented on CASSANDRA-5821: -- In addition to lower latencies and higher

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-21 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714921#comment-13714921 ] Ben Manes commented on CASSANDRA-5661: -- Since the EBS version is still in

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-20 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714389#comment-13714389 ] Ben Manes commented on CASSANDRA-5661: -- I replaced the external handle with

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-20 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714403#comment-13714403 ] Ben Manes commented on CASSANDRA-5661: -- Switching from LTQ to a custom

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-20 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714543#comment-13714543 ] Ben Manes commented on CASSANDRA-5661: -- Thanks Pavel. I'm not sure why it got

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-20 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714610#comment-13714610 ] Ben Manes commented on CASSANDRA-5661: -- I was able to reduce the EBS version down

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707974#comment-13707974 ] Ben Manes commented on CASSANDRA-5661: -- In a simple single-threaded benchmark,

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707990#comment-13707990 ] Ben Manes commented on CASSANDRA-5661: -- yes, I understand that and that was

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707991#comment-13707991 ] Ben Manes commented on CASSANDRA-5661: -- anyways, this is now removed so hopefully

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708114#comment-13708114 ] Ben Manes commented on CASSANDRA-5661: -- Can you test without time-to-idle? Most

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708209#comment-13708209 ] Ben Manes commented on CASSANDRA-5661: -- Profiled to reduce allocations, cutting

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707667#comment-13707667 ] Ben Manes commented on CASSANDRA-5661: -- I think I just fixed this issue in my

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707672#comment-13707672 ] Ben Manes commented on CASSANDRA-5661: -- okay, fixed. thanks for catching this.

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-13 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707689#comment-13707689 ] Ben Manes commented on CASSANDRA-5661: -- LTQ is best when you allow there to be

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-12 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707652#comment-13707652 ] Ben Manes commented on CASSANDRA-5661: -- I rewrote the time-to-idle policy, so it

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-09 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704086#comment-13704086 ] Ben Manes commented on CASSANDRA-5661: -- I think part of the problem is that idle

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-07 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701530#comment-13701530 ] Ben Manes commented on CASSANDRA-5661: -- Weights are trivial to add and I wanted

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-07 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701544#comment-13701544 ] Ben Manes commented on CASSANDRA-5661: -- I solved the LRU problem years ago, which

[jira] [Commented] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701495#comment-13701495 ] Ben Manes commented on CASSANDRA-5661: -- rarely explicitly invalidated is regards

[jira] [Comment Edited] (CASSANDRA-5661) Discard pooled readers for cold data

2013-07-06 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701495#comment-13701495 ] Ben Manes edited comment on CASSANDRA-5661 at 7/7/13 3:35 AM:

[jira] [Commented] (CASSANDRA-2681) Upgrade ConcurrentLinkedHashMap (v1.2)

2011-05-25 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13039262#comment-13039262 ] Ben Manes commented on CASSANDRA-2681: -- Yep, its a hack. I added it to the list

[jira] [Created] (CASSANDRA-2681) Upgrade ConcurrentLinkedHashMap (v1.2)

2011-05-20 Thread Ben Manes (JIRA)
Upgrade ConcurrentLinkedHashMap (v1.2) -- Key: CASSANDRA-2681 URL: https://issues.apache.org/jira/browse/CASSANDRA-2681 Project: Cassandra Issue Type: Task Reporter: Ben Manes

[jira] [Updated] (CASSANDRA-2681) Upgrade ConcurrentLinkedHashMap (v1.2)

2011-05-20 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Manes updated CASSANDRA-2681: - Description: This release has numerous performance improvements. See the change log for

[jira] Commented: (CASSANDRA-1966) Option to control how many items are read on cache load

2011-01-11 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12980552#action_12980552 ] Ben Manes commented on CASSANDRA-1966: -- This could be added to CLHM if Cassandra

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-11-03 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928130#action_12928130 ] Ben Manes commented on CASSANDRA-975: - Released. Sorry for the delay (and for my

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-10-31 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12926815#action_12926815 ] Ben Manes commented on CASSANDRA-975: - Lets give this another shot. I have finalized

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-06-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12878723#action_12878723 ] Ben Manes commented on CASSANDRA-975: - In CHM, the concurrency level is the number

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-06-14 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12878822#action_12878822 ] Ben Manes commented on CASSANDRA-975: - I added a ticket on my side to track this.

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-06-11 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12877948#action_12877948 ] Ben Manes commented on CASSANDRA-975: - I've been thinking over the test and I don't

[jira] Commented: (CASSANDRA-975) explore upgrading CLHM

2010-06-10 Thread Ben Manes (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12877618#action_12877618 ] Ben Manes commented on CASSANDRA-975: - That's understandable, but I was hoping it