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

[jira] [Commented] (DISPATCH-2222) Avoid cpu-intensive message string-ify of every received AMQP message

    [ https://issues.apache.org/jira/browse/DISPATCH-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392549#comment-17392549 ] 

ASF GitHub Bot commented on DISPATCH-2222:
------------------------------------------

kgiusti opened a new pull request #1330:
URL: https://github.com/apache/qpid-dispatch/pull/1330


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org