cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13090) Coalescing strategy sleep too much
Date Tue, 03 Jan 2017 16:46:58 GMT

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

Ariel Weisberg commented on CASSANDRA-13090:
--------------------------------------------

Ouch. I am just not getting this right today.

I would be happy to have it as one patch. I think if we set it to 8 it will still be better
than 128 in a heavy backlog , but it's also still safe in that it's way more coalescing than
we could possibly benefit from.

I think tweaking the number has diminishing returns because you only hit this when the backlog
grows and in that case you are already not looking at coalescing as the problem or the solution.

> 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)

Mime
View raw message