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

Corentin Chary commented on CASSANDRA-13090:
--------------------------------------------

Would you prefer count > 1 to start and then another patch to make it 
configurable (if necessary, I'll run benchmarks).

limit isn't now + nanos / 16, it's now + nanos - nanos / 16, (or ~= now + nanos 
* 0.9, maybe this last form is better ?)

> Coalescing strategy sleep too much
> ----------------------------------
>
>                 Key: CASSANDRA-13090
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13090
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>            Reporter: Corentin Chary
>             Fix For: 3.x
>
>         Attachments: 0001-Fix-wait-time-coalescing-CASSANDRA-13090.patch
>
>
> With the current code maybeSleep is called even if we managed to take 
> maxItems out of the backlog. In this case we should really avoid sleeping 
> because it means that backlog is building up.
> I'll send a patch shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to