You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/05/22 19:10:45 UTC
[jira] Commented: (CASSANDRA-197) Expose ring map to client for
more direct access
[ https://issues.apache.org/jira/browse/CASSANDRA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712171#action_12712171 ]
Jonathan Ellis commented on CASSANDRA-197:
------------------------------------------
-1 on violating encapsulation wholesale.
i could see maybe having a call "endpoint_for_key" that gives an ip/port pair for primary node owning a key, but would that be useful enough to bother with?
> 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.