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

Stu Hood commented on CASSANDRA-1485:
-------------------------------------

* Could we attach the weights to the queue to minimize the work done in the 
scheduling loop?
* In the innermost loop, you should probably break the weighted loop if the 
thread popped is ever null
* The changes in ClientState are not necessary for this patch

Thanks Jeremy!

> Add a weighted request scheduler
> --------------------------------
>
>                 Key: CASSANDRA-1485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1485
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Jeremy Hanna
>            Assignee: Jeremy Hanna
>            Priority: Minor
>             Fix For: 0.7 beta 2
>
>         Attachments: 0001-added-basic-keyspace-weighting.patch
>
>
> Now that CASSANDRA-1035 has given Cassandra a request scheduler interface, it 
> would be nice to have a weighted request scheduler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to