cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Manes (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11452) Cache implementation using LIRS eviction for in-process page cache
Date Thu, 14 Apr 2016 09:32:25 GMT


Ben Manes commented on CASSANDRA-11452:

Yes, a custom interface to define a {{longHashCode()}} would work, but that doesn't seem to
be a good general solution. I hope one day Java adds it onto Object.

I was playing with a [randomized W-TinyLFU|]
earlier today. It works well. A random walk in Caffeine (as is) would be a little concerning
since that is a linked list traversal.

Cycling the victim through the probation passes Branimir's test and is my preference so far.
I need to run more simulations to ensure it doesn't have any surprising results.

> Cache implementation using LIRS eviction for in-process page cache
> ------------------------------------------------------------------
>                 Key: CASSANDRA-11452
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local Write-Read Paths
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
> Following up from CASSANDRA-5863, to make best use of caching and to avoid having to
explicitly marking compaction accesses as non-cacheable, we need a cache implementation that
uses an eviction algorithm that can better handle non-recurring accesses.

This message was sent by Atlassian JIRA

View raw message