You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dikang Gu (JIRA)" <ji...@apache.org> on 2017/12/07 19:04:00 UTC

[jira] [Commented] (CASSANDRA-12814) Batch read requests to same physical host

    [ https://issues.apache.org/jira/browse/CASSANDRA-12814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282340#comment-16282340 ] 

Dikang Gu commented on CASSANDRA-12814:
---------------------------------------

FYI, I start to work on this and test in our internal env. In high level, my current approach is to introduce a MultiReadCommand, so that StorageProxy will group individual read commands belong to the same physical data node together, into one MultiReadCommand and send to the data node. 

> Batch read requests to same physical host
> -----------------------------------------
>
>                 Key: CASSANDRA-12814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12814
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Coordination
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>              Labels: performance
>
> We have couple use cases that are doing fanout read for their data, means one single read request from client contains multiple keys which live on different physical hosts. (I know it's not recommended way to access C*).
> Right now, on the coordinator, it will issue separate read commands even though they will go to the same physical host, which I think is causing a lot of overheads.
> I think it's valuable to provide a new read command, that coordinator can batch the reads to one datanode, and send to it in one message, and datanode will return the results for all keys belong to it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org