[ 
https://issues.apache.org/jira/browse/CASSANDRA-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Melvin Wang updated CASSANDRA-3005:
-----------------------------------

    Attachment: c3005-v4

Agreed on the arguments in the case of multiple producers ( I believe it is 
right when there is a single producer). I'd like to give it another try. I will 
put the polled element back to the consumer queue. This may result an earlier 
message being put to the end of the queue if the sending thread swaps, however, 
all the messages in the consumer queue will be processed before we swap again. 
Since it is OK for us to drop messages, processing an earlier message later may 
not be that bad.
                
> OutboundTcpConnection's sending queue grows unboundedly without any 
> backpressure logic
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3005
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3005
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Melvin Wang
>            Assignee: Melvin Wang
>         Attachments: 3005-v3.txt, c3005-v2, c3005-v4, c3005.patch
>
>
> OutboundTcpConnection's sending queue unconditionally queues up the request 
> and process them in sequence. Thinking about tagging the message coming in 
> with timestamp and drop them before actually sending it if the message stays 
> in the queue for too long, which is defined by the message's own time out 
> value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to