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

Release index pages with a lot of tracks and relationships often time out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-06-28
    • None
    • Data display
    • None

      As part of MBS-3841, we made it so that releases with more than 10 mediums load "collapsed," and individual mediums can be expanded and loaded asynchronously after the page loads (with a fallback where JavaScript is disabled).

      This works well in most cases, but unfortunately still breaks down not when there are too many mediums, but too many tracks on a medium (especially if those tracks have relationships). We even had to block one such release from being accessed back in March (because it had 1200+ tracks and drove up the load average on our servers).

      In order to resolve this, we'll have to start paging tracks and have a limit on the number of tracks that can be loaded on a release page initially (e.g. 10 mediums, 100 tracks). The page size can be high enough (I suggest 100) that it won't be hit on almost any release. By my count, only 2,350 releases currently meet this criteria.

            bitmap Michael Wiencek
            bitmap Michael Wiencek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-06-28