Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9301

Support HTTP Pipelining for web service

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web service
    • Labels:
      None

      Description

      nginx supports tcp pipelining, however AFAIK it is not currently enabled for MBS.

      At present the number of MBS calls per second actually made by e.g.Picard is

       

      Max(1, 6 / MBS_response_time)
      
      

      because the QtNetworkAccessManager used by Picard limits the number of simultaneous TCP connections to 6.

      Enabling pipelining will have the following benefits:

      a. Enable Picard and other clients to reach the 1 call per second current rate 

      b. Reduce the number of simultaneous TCP connections made to MBS - reduced overhead, improved scalability etc.

      (Or that is the theory - might need an experiment to confirm that e.g. throughput will be improved.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sophist Sophist
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package