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

remove confusing default for session capacity and allow disabling it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • proton-c-0.23.0
    • proton-c

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aconway Alan Conway
              rhs Rafael H. Schloming
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: