The Movie Database-ondersteuning

The current Search API supports results for partial queries as well (e.g: "Incep" provides "Inception" as result). So I was wondering if I could send an API call for each key press in the search field for a user?

Essentially, it calls for inc, ince, incep, incept etc. as the user types out the name, so they get updated and more accurate results with each letter. This basically means I'm sending a separate GET sent with each keystroke.

Will I hit the API rate limiter or something if I use this? Even if my app has 5k concurrent users, will I not hit any API wall due to rapid number of requests/second?

@Travis - Thanks again for your hard working in maintaining TMDB and letting use these APIs <3 !

3 antwoorden (op pagina 1 van 1)

Jump to last post

@eternalwolf said: Essentially, it calls for inc, ince, incep, incept etc. as the user types out the name, so they get updated and more accurate results with each letter. This basically means I'm sending a separate GET sent with each keystroke.

Just as an recommendation from a developer: If you have the opportunity to implement backpressure strategies (=> reactive programming), I'd recommend to make use of it. For an example, you could add a timeout (probably 200 milliseconds) between each request instead of each keystroke, so the app would ignore/drop some "irrelevant requests".

Will I hit the API rate limiter or something if I use this? Even if my app has 5k concurrent users, will I not hit any API wall due to rapid number of requests/second?

There is no rate limiting: https://developers.themoviedb.org/3/getting-started/request-rate-limiting

Just as an recommendation from a developer: If you have the opportunity to implement backpressure strategies (=> reactive programming), I'd recommend to make use of it. For an example, you could add a timeout (probably 200 milliseconds) between each request instead of each keystroke, so the app would ignore/drop some "irrelevant requests".

This is very helpful, will look into it.

There is no rate limiting: https://developers.themoviedb.org/3/getting-started/request-rate-limiting

Wow, that's crazy though. So there is no limit whatsoever to DAU/MAU limits huh... awesome.

Thanks vkay :D !

You're welcome ;)

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen