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 subversion and git services (Jira)" <ji...@apache.org> on 2022/09/07 18:54:00 UTC

[jira] [Commented] (PROTON-2603) [protonj2] Improve the encoding performance of the client sender

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

ASF subversion and git services commented on PROTON-2603:
---------------------------------------------------------

Commit 0951d1ae17161b271d6d268f9e63ed6d9cb4ae42 in qpid-protonj2's branch refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=0951d1ae ]

PROTON-2603 Improve encode performance and reduce CPU for messages

Cache the encoder types for message Sections from the always used proton
encoder to avoid hashing the encoders map for every message section
encoded.  Capture this use case in a utility class that anyone can use.

> [protonj2] Improve the encoding performance of the client sender
> ----------------------------------------------------------------
>
>                 Key: PROTON-2603
>                 URL: https://issues.apache.org/jira/browse/PROTON-2603
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M8
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Minor
>             Fix For: protonj2-1.0.0-M9
>
>
> The protonj2 client sender performance can be improved by using a simple caching class to avoid hashing into the type encoders map every time the sections of a message are encoded as we know after the first lookup what the encoder for each section is. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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