Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1288867B5 for ; Mon, 13 Jun 2011 16:00:16 +0000 (UTC) Received: (qmail 27757 invoked by uid 500); 13 Jun 2011 16:00:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 27729 invoked by uid 500); 13 Jun 2011 16:00:15 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 27696 invoked by uid 99); 13 Jun 2011 16:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 16:00:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 16:00:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C6883417416 for ; Mon, 13 Jun 2011 15:59:51 +0000 (UTC) Date: Mon, 13 Jun 2011 15:59:51 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1106992231.2839.1307980791809.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1444967344.61050.1306964688132.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2731) Impelement in-house file caching. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048613#comment-13048613 ] Jonathan Ellis commented on CASSANDRA-2731: ------------------------------------------- So the idea is we store disk blocks in the radix tree? Why a radix tree? What do we do for Windows? Would it make sense to store sstable blocks directly instead if we move to a block-based format like CASSANDRA-674? > Impelement in-house file caching. > --------------------------------- > > Key: CASSANDRA-2731 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2731 > 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 columns). > Use jemalloc (http://www.canonware.com/jemalloc/) for cache memory management. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira