You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/10/29 18:53:00 UTC

[jira] [Resolved] (DISPATCH-2250) Add extra poll of pending output work on I/O thread

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

Ken Giusti resolved DISPATCH-2250.
----------------------------------
    Fix Version/s: 1.18.0
       Resolution: Fixed

> Add extra poll of pending output work on I/O thread
> ---------------------------------------------------
>
>                 Key: DISPATCH-2250
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2250
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 1.17.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.18.0
>
>
> See [https://github.com/kgiusti/dispatch/commit/c546f31af8a9638b6fba4ccca68edfa1adaf0498]
>  
> Performance tests have shown a increase in throughput with this patch.  The core thread will forward messages faster than the output thread can write them to proton.  Testing has showed that when under load additional output work items are added to the output connection during the time it spends draining proactor events.   This extra output poll will service those work items before returning control to proton to perform the I/O.
>  
> There probably is a cleaner way to implement this - including a way to make checking for the presence of output work cheaper....



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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