4 minutes for 21 API calls?

    • mikeh7 ha detto...
    • Utente
    • Apr 12 2012, 16:25

    4 minutes for 21 API calls?

    I'm making a simple PHP application that makes about 20 calls to the user.getrecenttracks method and one to user.getshouts, all of which are limited at the max 200 records. These calls take about four minutes total. I have a non-commercial key. Does anyone know whether calls with a non-commercial key are much slower than with a commercial key?

    • marc2003 ha detto...
    • Utente
    • Apr 13 2012, 16:37
    i don't think your API key has anything to do with it. i've tested library.gettracks fetching a user's entire library with a 100 results per page and hundreds of pages in less time than that.

    Modificato da marc2003 in data Apr 13 2012, 17:13
    • tburny ha detto...
    • Forum Moderator
    • Apr 13 2012, 17:09
    I think you should use tools like traceroute to find out where it is becoming slow

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • mikeh7 ha detto...
    • Utente
    • Apr 14 2012, 13:26
    Ok, thank you both.

    • dunk ha detto...
    • Alumni
    • Apr 19 2012, 14:30
    Everyone's API calls area treated equally.

Gli utenti anonimi non possono inviare messaggi. Per inserire messaggi nei forum, accedi o crea il tuo account.