Поддержка The Movie Database

Hello @travisbell I have a question
docs say that 50 requests are allowed to be made in tmdb per second
but you said in a conversation that 20 connection are allowed per ip address
So what exactly 'connection' here mean??
Is it like if I fire 20 api calls at the same time to tmdb, they are going to be considered as 'open connection' or 'connection' untill they are resovled or rejected, preventing me for firing more than 20 api calls, so if this is true, It means that I can not fetch more than 20 calls of API at the same time, right?
please consider replying

3 ответов (на странице 1 из 1)

Jump to last post

If I'm not being redundant and insisting, I would only like to state one question/doubt regarding rate limiting ----- what does 'connection' mean and if I fire 20 api calls at the same time are they treated as 20 'connections' ? while they are pending ( waiting to be resolved or rejected ), if a pending request is a 'connection' then clearly we can't make fire more than 20 api calls at a time as @ticao2 and @travisBell have said in one discussion that 20 is the max limit of connection. ----IF I got let's say 100 request to fire at once, I got to batch them in 5 batches of 20 right? and fire them one by one after the previous batch is done being resolved/rejected fully
AM I right ?
Please confirm
The matter of fact is -- I tried it myself, fired 4 calls, got 1 page each response, total 4 pages, 4*20 = 80 results, extracted ID from each result, got 80 IDs, stored them in array, fired the api call for each ID all at once -- 80 api calls were made at once, everyone of it got resolved all the way to 80th API
No error was found, or thrown by tmdb, I honestly don't know what to believe about LIMITS - IS IT 20, 50 or something else ( talking about the limit of request that can be live/pending/open-connection at once between tmdb and IP address )

I think it's best to focus your questions on a single conversation.
I suggest this one
https://www.themoviedb.org/talk/5d34aec717792c0011bc9bd9

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти