[ https://issues.apache.org/jira/browse/CASSANDRA-8897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481074#comment-14481074 ]
Stefania commented on CASSANDRA-8897: ------------------------------------- Few questions: \\ \\ - Does the buffer pool need to support metrics just like the FileCacheService did? - What about the maximum memory size beyond which it cannot grow? - Should we create an initial number of buffers or should we just grow the pool dynamically? - Should the pool be only a replacement of FileCacheService, therefore used only by PoolingSegmentedFile and derived classes when calling createPooledReader(), or should the scope be extended to all RARs created by SegmentedFile instances? > Remove FileCacheService, instead pooling the buffers > ---------------------------------------------------- > > Key: CASSANDRA-8897 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8897 > 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 page-aligned. -- This message was sent by Atlassian JIRA (v6.3.4#6332)