Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 81953 invoked from network); 9 Feb 2011 10:59:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2011 10:59:18 -0000 Received: (qmail 67944 invoked by uid 500); 9 Feb 2011 10:59:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 67623 invoked by uid 500); 9 Feb 2011 10:59:13 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 67615 invoked by uid 99); 9 Feb 2011 10:59:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 10:59:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 10:59:04 +0000 Received: by qwi2 with SMTP id 2so18837qwi.31 for ; Wed, 09 Feb 2011 02:58:43 -0800 (PST) Received: by 10.229.98.193 with SMTP id r1mr15171355qcn.22.1297249123227; Wed, 09 Feb 2011 02:58:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.247.207 with HTTP; Wed, 9 Feb 2011 02:58:23 -0800 (PST) From: =?UTF-8?Q?Utku_Can_Top=C3=A7u?= Date: Wed, 9 Feb 2011 11:58:23 +0100 Message-ID: Subject: Implemeting a LRU in Cassandra To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016364eee182cdaac049bd75984 X-Virus-Checked: Checked by ClamAV on apache.org --0016364eee182cdaac049bd75984 Content-Type: text/plain; charset=UTF-8 Hi All, I'm sure people here have tried to solve similar questions. Say I'm tracking pages, I want to access the least recently used 1000 unique pages (i.e. columnnames). How can I achieve this? Using a row with say, ttl=60 seconds would solve the problem of accessing the least recently used unique pages in the last minute. Thanks for any comments and helps. Regards, Utku --0016364eee182cdaac049bd75984 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All,

I'm sure people here have tried to solve similar questio= ns.
Say I'm tracking pages, I want to access the least recently used= 1000 unique pages (i.e. columnnames). How can I achieve this?

Using= a row with say, ttl=3D60 seconds would solve the problem of accessing the = least recently used unique pages in the last minute.

Thanks for any comments and helps.

Regards,
Utku
--0016364eee182cdaac049bd75984--