Andy Goldstein created QPID-4482:
------------------------------------

             Summary: Have the broker send unsolicited outstanding completions 
every n seconds
                 Key: QPID-4482
                 URL: https://issues.apache.org/jira/browse/QPID-4482
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker
            Reporter: Andy Goldstein
            Priority: Minor


When a Sender with capacity > 1 sends a message to a broker asynchronously, it 
currently won't receive completions from the broker for unsettled messages 
until the window is > capacity/4 (which is when the Sender calls 
session.flush()).

Similarly, when using federation with acks enabled, the broker only flushes 
completions every <ack count> messages, which could result in a large amount of 
memory usage if there is a large number of unacked messages, even if it's been 
seconds/minutes/hours/etc since the last message was sent over the federation 
link.

It would be nice if in both situations the broker could be configured to send 
completions every n seconds, where n is configurable.  This way, senders and 
federated brokers could receive updates on the status of their unsettled 
messages without having to wait to cross a "# of messages" threshold.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to