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

Support HTTP Pipelining for web service

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Web service
    • None

      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.)

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

              Created:
              Updated:

                Version Package