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

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

> Avoid cpu-intensive message string-ify of every received AMQP message
> ---------------------------------------------------------------------
>
>                 Key: DISPATCH-2222
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2222
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.17.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.18.0
>
>
> A call to log_link_message() is made for every received AMQP message.  This 
> function logs a string-ified version of the message at level QD_LOG_TRACE.
>  
> log_link_message() parses out each message and summarizes it into a string 
> buffer before logging.  This stringify operation is cpu-intensive.  According 
> to flamegraphs it occupies 5% of the compute budget.
>  
> The string-ify operation should be avoided if the message log level doe not 
> have TRACE enabled.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to