[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to