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

      For some reason loading my own listens always takes 10+ seconds to load.
      See for example: https://listenbrainz.org/user/chaban/?min_ts=1638377614
      and https://listenbrainz.org/user/chaban/?min_ts=1638377614

          [LB-1200] Speed up loading of user listens

          Monkey added a comment -

          Thank you for the links, I indeed see very very slow page loads and the second link even returned a 504 error for me (request timed out) the first time I tried opening it.
          As you suggested, it is most likely due to the time span in-between listens, but it still seems too slow.
          Subsequent page loads do work somewhat faster, the required data is probably cached by the database.

          Monkey added a comment - Thank you for the links, I indeed see very very slow page loads and the second link even returned a 504 error for me (request timed out) the first time I tried opening it. As you suggested, it is most likely due to the time span in-between listens, but it still seems too slow. Subsequent page loads do work somewhat faster, the required data is probably cached by the database.

          chaban added a comment - - edited

          It's probably related to old listens or the time gap between listens.
          E.g. going from https://listenbrainz.org/user/chaban/?min_ts=1638377614 to https://listenbrainz.org/user/chaban/?max_ts=1649778211

          That's roughly what my listens page looked like when I filed this ticket. (I might've deleted listens in the meantime)

          BTW, I've seen this when making this comment / loading those pages the first time:

          TypeError
          Failed to fetch
          

          chaban added a comment - - edited It's probably related to old listens or the time gap between listens. E.g. going from https://listenbrainz.org/user/chaban/?min_ts=1638377614 to https://listenbrainz.org/user/chaban/?max_ts=1649778211 That's roughly what my listens page looked like when I filed this ticket. (I might've deleted listens in the meantime) BTW, I've seen this when making this comment / loading those pages the first time: TypeError Failed to fetch

          Monkey added a comment -

          Hi chaban, I can't reproduce this currently myself, are you still seeing the same issue?
          If so, it might be related to the browser rendering/JS rather than the server fetching the appropriate data.

          Monkey added a comment - Hi chaban , I can't reproduce this currently myself, are you still seeing the same issue? If so, it might be related to the browser rendering/JS rather than the server fetching the appropriate data.

            Unassigned Unassigned
            chaban chaban
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package