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

Timeline data load is absurdly slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-12-13
    • None
    • Statistics
    • None

      A request to https://musicbrainz.org/statistics/timeline/type-data can take at least 17s, which is absurdly long. We should look into caching the calls/responses to make this more sensible.

      bitmap commented: "The CATALYST_DEBUG view can probably tell you where time is being spent.  The get_all calls should already be cached AFAIK, so perhaps it's get_types_for_timeline.  Then anything slow should be cached in redis.  We could probably even cache the whole response."

            reosarevok Nicolás Tamargo
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-12-13