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/01/11 15:58:00 UTC

[jira] [Updated] (PROTON-1739) remove confusing default for session capacity and allow disabling it

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

Robbie Gemmell updated PROTON-1739:
-----------------------------------
    Priority: Minor  (was: Major)

> remove confusing default for session capacity and allow disabling it
> --------------------------------------------------------------------
>
>                 Key: PROTON-1739
>                 URL: https://issues.apache.org/jira/browse/PROTON-1739
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: proton-j-0.24.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: proton-j-0.25.0
>
>
> The session has a default 'incoming capacity' of 1MB, which actually has no effect by default and leads to unexpected behaviour while changing other configuration. It should be removed.
> The value is used when the engine decides what incoming session window to set on Flow frames, but only if a specific frame size is configured for the transport, which it isn't by default. If a specific frame size is set, then any session capacity really needs to be set based on it in order to be appropriate, the default being fixed as it is leads to unexpectedly low window sizes in many cases which will impact performance in unexpected ways. Its confusing that setting frame size results in completely different behaviour than before for another thing (window size) which perhaps hasn't been configured at all, and the existing behaviour is also such that you cant turn it off.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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