-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General artist-stats performance #162
Comments
Hello! Thanks for the feedback. Your device isn't guilty :). For the record, I have 100 000 infos and my artist page takes 5 seconds to load on a i7 8700h. |
Ah ok, makes sense. Thank you for the feedback. Could a possible solution for this be, to queue the artist's rank-calculation to let it run in the background over the day? Or maybe in a nightly cron on a customizable base (daily, weekly, monthly)? |
Should be fixed in last release. |
Hello @Yooooomi and thanks for letting me know. |
Mmh, sad news. Since artist stats cannot be customized with time, I should compute them on backend and only fetch the result from the front end. This logic is new in the Spotify backend. I'll try to implement something like this in the next release. The main point is I don't want to compute artist stats for artists you'll never see. |
No problem, and no need to say sorry 😄 I'm very grateful for the great tool you created and happy that you continue working on it 👍 |
Tip - Updating to a newer mongo version (5 or higher) massively increased performance for me, but you will likely need an amd64 arch cpu with avx |
Since I do not know if it is just my (not that powerful) server and/or docker-setup or a general topic I did not start with a bug-ticket.
I'm very happy with your-spotify and was even more happy, when I got my full export from Spotify and got it imported in your-spotify. But with this large set especially the artist's stats-page takes very long to load.
An example:
I use the search on the top/left and I get the name (and image) of the artists I searched for almost immediately. But when I click the artist it takes around 50sec for the page to finish loading for - in this case - the artist with rank 60 which has around 150 listening-entries.
Other pages, like homepage-stats for last year (with 5721 songs listened) load in about 5sec which I'm totally fine with.
Here a some metrics of the database, which I think can be helpful to compare if it is just my setup or the application in general.
The text was updated successfully, but these errors were encountered: