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 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区