Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-636

remove confusing default for session capacity and allow disabling it

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: proton-c-0.23.0
    • Component/s: proton-c
    • Labels:


      Original title: setting a 1MB frame size results in an undesirably small session window)

      Description, from PROTON-1739:

      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.


        Issue Links



            • Assignee:
              aconway Alan Conway
              rhs Rafael H. Schloming


              • Created:

                Issue deployment