qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6840) [Java Broker] Interleave calls to processPending with attempts to write outstanding data
Date Thu, 12 Nov 2015 10:23:11 GMT
Rob Godfrey created QPID-6840:
---------------------------------

             Summary: [Java Broker] Interleave calls to processPending with attempts to write
outstanding data
                 Key: QPID-6840
                 URL: https://issues.apache.org/jira/browse/QPID-6840
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
             Fix For: qpid-java-6.0


Currently NonBlockingConnection.doWork() completes all "pending" work before attempting a
write, and then processes incoming network reads.

Instead we should ensure that once we have enough data to fill the send buffer, we should
perform a network write.  If we cannot write out enough data to the wire, we should stop processing
pending work (which will consuming direct memory which cannot be reclaimed until the buffers
are written).



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

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


Mime
View raw message