Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2DD17F06 for ; Mon, 21 Nov 2011 09:10:40 +0000 (UTC) Received: (qmail 85401 invoked by uid 500); 21 Nov 2011 09:09:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 85382 invoked by uid 500); 21 Nov 2011 09:09:20 -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 85374 invoked by uid 99); 21 Nov 2011 09:09:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 09:09:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of arodrime@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 09:09:14 +0000 Received: by eyg24 with SMTP id 24so5878705eyg.31 for ; Mon, 21 Nov 2011 01:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DSVrY13+lKQGZ6/8jZ3JnKf5R1MM735npnLpAlYUEbk=; b=HzZUrDB/aV78Cp8rgp3IOD3IjjH0Z33JlGzu7E4TO5Ncqrr5cWJXjOV++drzCdf6rs mTl9Biq2RWblAn3Z69MlJHTwUo9uZbQ+SMTGcmEyIonAvNisE4bs/SEdsneASYfW3n6i Rhcj8x2UTFFKSsuZ2xIkA+6AQ0anEVMCf35Ec= Received: by 10.213.13.6 with SMTP id z6mr592784ebz.13.1321866531242; Mon, 21 Nov 2011 01:08:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.19.202 with HTTP; Mon, 21 Nov 2011 01:08:29 -0800 (PST) In-Reply-To: <1321865026.95787.YahooMailNeo@web161204.mail.bf1.yahoo.com> References: <1321754295.65683.YahooMailNeo@web161205.mail.bf1.yahoo.com> <1321865026.95787.YahooMailNeo@web161204.mail.bf1.yahoo.com> From: Alain RODRIGUEZ Date: Mon, 21 Nov 2011 10:08:29 +0100 Message-ID: Subject: Re: key and storage proximity To: user@cassandra.apache.org, Kent Tong Content-Type: multipart/alternative; boundary=001517503db209050b04b23b097a --001517503db209050b04b23b097a Content-Type: text/plain; charset=ISO-8859-1 I think taht it depends on your partitioner. With an OPP you will have this behaviour. With a RP you won't have this behaviour. The hash randomize the keys, which is exactly its job to be sure that even if you are storing sequences you won't create hot spots. Alain 2011/11/21 Kent Tong > Hi, > > I was wondering if two records with "adjacent" keys are stored near-by, or > with "adjacent" key hashes or neither? > > Thanks! > --001517503db209050b04b23b097a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think taht it depends on your partitioner. With an OPP you will have this= behaviour. With a RP you won't have this behaviour. The hash randomize= the keys, which is exactly its job to be sure that even if you are storing= sequences you won't create hot spots.

Alain

2011/11/21 Kent Tong= <freemant20= 00@yahoo.com>
Hi,

I was won= dering if two records with "adjacent" keys are stored near-by, or= with "adjacent" key hashes or neither?

Thanks!

--001517503db209050b04b23b097a--