Timeline data load is absurdly slow

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2021-12-13
    • Affects Version/s: None
    • Component/s: 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."

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

              Created:
              Updated:
              Resolved:

                Version Package
                2021-12-13