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

Avi Kivity commented on CASSANDRA-14311:
----------------------------------------

{quote}this allows querying multiple token ranges in parallel and gives even 
more benefits than just node hopping for the “next” page
{quote}
 

That changes the query semantics, not all users are prepared for parallel scan 
in a single thread. For sure, it is viable.

 

My proposal optimizes existing use case where you have a sequential query and 
want to keep it sequential.

> Allow Token-Aware drivers for range scans
> -----------------------------------------
>
>                 Key: CASSANDRA-14311
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14311
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Coordination
>            Reporter: Avi Kivity
>            Priority: Major
>
> Currently, range scans are not token aware. This means that an extra hop is 
> needed for most requests. Since range scans are usually data intensive, this 
> causes significant extra traffic.
>  
> Token awareness could be enabled by having the coordinator return the token 
> for the next (still unread) row in the response, so the driver can select a 
> next coordinator that owns this row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to