cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2731) Impelement in-house file caching.
Date Mon, 13 Jun 2011 16:25:51 GMT


Pavel Yaskevich commented on CASSANDRA-2731:

Sorry, I misunderstand that. I previously read that Windows also has a possibility to run
async I/O but I still need to investigate that deeper, anyway I was planing to check a platform
using #ifdef's and act properly.

> Impelement in-house file caching.
> ---------------------------------
>                 Key: CASSANDRA-2731
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.0
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
> Implement FileCache, CachedRandomAccessFile (to replace BufferedRandomAccessFile) and
RadixTree (to play role of the backend cache storage) classes.
> FileCache class with be responsible for storing/retrieving data from Radix Tree and also
flushing of the dirty pages to the disk, page management such as adding new pages, utilizing
old/unused pages.
> CRAF Linux only features (via JNI):
> 1). O_DIRECT for both read/write operations.
> 2). AIO's lio_listio write operation batching.
> Provide possibility to migrate hot data directly from Memtable to CRAF cache to keep
live-reads data always hot in memory. To minimise compaction effects CRAF should provide a
way to by-pass a caching data if it does not already exists. 
> Provide a way to make pointers in the cache which will be useful to minimize impact on
performance when a single column is distributed among multiple SSTable files (except counter
> Use jemalloc ( for cache memory management.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message