Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 50305 invoked from network); 18 Aug 2009 14:49:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 14:49:17 -0000 Received: (qmail 42964 invoked by uid 500); 18 Aug 2009 14:49:36 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 42943 invoked by uid 500); 18 Aug 2009 14:49:36 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 42933 invoked by uid 99); 18 Aug 2009 14:49:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 14:49:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 14:49:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0364C234C1E9 for ; Tue, 18 Aug 2009 07:49:15 -0700 (PDT) Message-ID: <954239613.1250606955012.JavaMail.jira@brutus> Date: Tue, 18 Aug 2009 07:49:15 -0700 (PDT) From: "Eric Evans (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-197) Expose ring map to client for more direct access In-Reply-To: <1983416145.1243011886030.JavaMail.jira@brutus> 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-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744528#action_12744528 ] Eric Evans commented on CASSANDRA-197: -------------------------------------- How is the client going to know the Partitioner, ReplicaPlacementStrategy, and ReplicationFactor? Are non-java clients expected to re-implement the Partitioner and ReplicaPlacementStrategy? Unless I'm missing something, a token-to-node map doesn't seem very useful in the general sense without these. > Expose ring map to client for more direct access > ------------------------------------------------ > > Key: CASSANDRA-197 > URL: https://issues.apache.org/jira/browse/CASSANDRA-197 > Project: Cassandra > Issue Type: New Feature > Reporter: Jun Rao > Assignee: Jun Rao > Attachments: issue197.patchv1 > > > For certain applications, it would be nice if a read is sent to a node that owns the data locally. This saves an extra network hop. To do that, a client will need to cache the ring map and use it to figure out the nodes owning a row. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.