You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2018/04/23 08:48:00 UTC

[jira] [Updated] (PROTON-1774) performance improvements in sasl transport wrapper

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

Robbie Gemmell updated PROTON-1774:
-----------------------------------
    Summary: performance improvements in sasl transport wrapper  (was: [proton-j] performance improvements in sasl transport wrapper)

> performance improvements in sasl transport wrapper
> --------------------------------------------------
>
>                 Key: PROTON-1774
>                 URL: https://issues.apache.org/jira/browse/PROTON-1774
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: proton-j-0.26.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: proton-j-0.27.0
>
>
> The SaslImpl class adds a TransportWrapper that deals with processing the iincoming and outgoing sasl exchange work.  When complete the wrapper leaves in place an implementation that must check on each new bit of work through the transport if it is still in Sasl mode and hand off to the next wrapper accordingly when not in Sasl.  This checking can lead to a small loss in performance.  Instead a wrapper that delegates to a swappable next instance can be switched once sasl is complete such that no checking is required after the sasl exchange.
> As a side affect of this change the input and output buffers allocated to handle sasl bytes in the exchange can be moved to the delegate TransportWrapper that will be dropped after the exchange and that small bit of memory can be freed by a future GC.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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