Netflix API Forums

API Forum

RSS Feed

Wait time te recieve response from API

  1. I find that when I make a REST call to the API, to get a predicted rating of a movie for a user for example, it takes approximately 2.4 seconds.
    When trying to get the predicted or average ratings for 20 movies this wait time becomes ~40-80 sec.
    Does anyone else experience this delay or does anyone know how to speed up the request/response process?
    Is this an API issue or something on my end?

    Thanks Very Much!
    Henry

    Message edited by Thinking Ahead LLC 3 years ago

    Tags

  2. mikey3 years ago

    Hmm.. it sounds to me like it is something on your end. The first call to get a rating *might* take up to a second (to initialize caches, retrieve ratings info, validate customer), but subsequent calls should be very fast. Where are you located, and what kind of network are you using?

    thanks!

    =-mikey-=

  3. Thinking Ahead LLC3 years ago

    Maybe its how I'm doing it...
    After getting authorization for a user, I send a request to Netflix to find out the ID of a movie with:
    /catalog/titles/?term=#{name}
    Then I take that ID and retrieve the users ratings for that movie.
    /users/#{session[:user_id]}/ratings/title?title_refs=http://api.netflix.com/titles/movies/#{movie_id}
    These 2 request/response cycles takes ~2.4 sec / movie.

    Is there a way to do this in one call?
    I am in NY.
    Thanks for the help!

[ Page 1 of 1 ]