You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/09/09 21:31:00 UTC

[jira] [Resolved] (DISPATCH-1379) Message receive performance improvements

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

Ganesh Murthy resolved DISPATCH-1379.
-------------------------------------
    Resolution: Fixed

> Message receive performance improvements
> ----------------------------------------
>
>                 Key: DISPATCH-1379
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1379
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 1.8.0
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Code inspection reveals three function calls per message that may be eliminated and a buffer free that could be executed outside of holding the content lock.
>  * Message allocator initializes object in memory ascending order
> Despite the size of the code, setting the required fields to zero directly is faster that calling ZERO.
>  * Eliminate redundant calls to pn_link_get_context
>  * Free empty pending buffer outside of content lock



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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