podverse / podverse-api

Data API, database migration scripts, and backend services for all Podverse apps
https://podverse.fm/about
GNU Affero General Public License v3.0
29 stars 15 forks source link

Speed up the handling of queue updates (slow updates when queue has many items) #671

Open mitchdowney opened 1 year ago

mitchdowney commented 1 year ago

@agates reported that he has 100+ items in his queue, and adding/removing items to his queue takes ~30 seconds.

My guess is that I'm doing some iteration through the queue rather than a bulk query (or some other more efficient process).

Ideally this can be fixed just through the backend API, but I'm not sure if the slow down is actually in the front-end handling.

mitchdowney commented 7 months ago

Going to save this feature/fix for v5.