[
https://issues.apache.org/jira/browse/CASSANDRA-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913142#action_12913142
]
Jeremy Hanna edited comment on CASSANDRA-1485 at 9/21/10 2:23 PM:
------------------------------------------------------------------
I guess I just don't see a net gain. getWeight would need to be called for
each request either in the schedule method or the queue method. Maybe I'm
misunderstanding.
was (Author: jeromatron):
queues are only created once, but every time something is put onto the
queue (i.e. every request) a new Pair<String, Integer> would be created. Maybe
I'm misunderstanding. Also the getWeight functionality would need to be used
every time something is put onto the queue to determine the weight.
> 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.