Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8923797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:13:47+00:00 2026-06-15T07:13:47+00:00

Are there any guidelines, benchmarks or similar on what you can expect in terms

  • 0

Are there any guidelines, benchmarks or similar on what you can expect in terms of loading times, when you’re loading a number of tracks (using SPAsyncLoading waitUntilLoaded:timeout:then)?

The reason for me asking is that I’ve tried loading ~20 tracks in a batch, since the track metadata’s going to be used throughout a flow in my client (which is split up in steps, in between which I’d rather not have any loading times aside from an initial delay, which is more acceptable to the user in this case).

I.e. how many tracks are reasonable to attempt loading at once and how long it “should” take?
Is loading 20 tracks “a lot”? Does loading a single track itself trigger a number of new request to pull in the metadata, making it a very bad idea trying to load more than a handful at once?
And is there any way of finding out why loading of a track failed, aside from it just timing out?

Rather often (maybe 1 out of 10), loading fails after the default 20 s timeout (and I’ve tried with longer timeouts, without big differences). Sometimes all 20 tracks have failed to load, sometimes only a single track.
I daresay that my internet connection stays the same (as much as it could, anyway) in between these attempts (in between which it can be a minute or two).

I realize that there’s a lot of fuzzy input here on what’s normal and what’s not etc. And this obviously depends on a number of factors such as your internet connection, the status of the Spotify servers and such, but maybe it’s possible to give some kind of hint on what to expect and if there are any do’s and don’t specific to the Spotify API.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:13:49+00:00Added an answer on June 15, 2026 at 7:13 am

    Generally, the rule is: only load tracks whose metadata you need to display to the user right now, and perhaps pre-load track that’ll be displayed next.

    In addition, since CocoaLibSpotify uses a queue, the more load you place on the library, the more overhead you’ll have. For example, if you separately SPAsyncLoading a bunch of stuff they’ll all be separately queued, but their timers will start instantly. If you enqueue enough stuff, they might not even start loading by the time their timeout fires.

    However, since a bunch of queueing goes on internally, this also happens if you throw a ton of stuff into a single SPAsyncLoading call.

    To keep things fast, keep it light and try to follow the guideline in the first sentence. In addition, try and keep things efficient:

    • SPAlbumBrowse will load that album’s track metadata in one hit, reducing backend load and queueing time.

    • Same for SPArtistBrowse.

    • Same for SPPlaylist, I believe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using guidelines right now, but I do not think there is any way
Are there any guidelines available that can be followed before calling standard string operation
Are there any guidelines on writing database tests so that you can refactor database
Are there any guidelines for using these methods in the right manner? In particular,
Are there any guidelines to writing Google App Engine Python code that would work
Is there any guidelines on how to differentiate between .nil? , .blank? and .empty?
Is there any guidelines to convert Table design to Div design keeping same cross
Is there any good articles or guidelines for color schemes for desktop applications? I
Is there any pdf which tells about coding guidelines in objective C. For Example...
Is there any way I can set a formatter on models that will convert

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.