cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8897) Remove FileCacheService, instead pooling the buffers
Date Thu, 09 Apr 2015 09:32:12 GMT


Stefania commented on CASSANDRA-8897:

That's a great idea, so the shared queue of slabs will be of 64Kb slices which are also sliced
from bigger 1Mb slabs. Here though we do need to be careful about thread contention but it
should be easy to solve with a sentinel in the queue or similar.

I'll use a counter and relinquish all slabs when it reaches zero or somehow I should be able
to work out when the pool is back to full capacity by doing some basic book keeping.

> Remove FileCacheService, instead pooling the buffers
> ----------------------------------------------------
>                 Key: CASSANDRA-8897
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Stefania
>             Fix For: 3.0
> After CASSANDRA-8893, a RAR will be a very lightweight object and will not need caching,
so we can eliminate this cache entirely. Instead we should have a pool of buffers that are

This message was sent by Atlassian JIRA

View raw message