Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1630

Dashboard for users with sporadic listens loads slowly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • data store
    • None

      User https://listenbrainz.org/user/Kanau/ recently reported that their page doesn't load. It does, but it takes 52 seconds to load. The user has a one page of listens spread over 3 years, so timescale needs to scan back a ways to load the data for the user.

      To address this we, should do the following things:

      1. Render the front-end page without data and give the user visual feedback as we load the listens
      2. Create a new API endpoint to fetch listens based on a timestamps only, without offset/count. Then deprecate the old API endpoint and immediately start using the new endpoint for LB.
      3. Load up to say, a month, of data on the page and if we don't load 25 listens, show a button to load more listens, warning user that this could take a while.

            kartik1712 amCap1712
            rob Robert Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package