每秒仅插入 1 次后的 403 速率限制 [英] 403 rate limit after only 1 insert per second

查看:9
本文介绍了每秒仅插入 1 次后的 403 速率限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用偶尔(每天一次)运行大约 1,000 个文件的批量插入.插入几次后,我开始收到 403 速率限制响应.由于我的应用按顺序执行插入操作,因此我尝试的插入速率永远不会高于每秒 1 次.

My app is occasionally (once per day) running a bulk insert of around 1,000 files. After a handful of inserts I start getting 403 rate limit responses. Since my app does the inserts sequentially, my attempted insert rate is never higher than 1 per second.

我检查了我是否启用了计费,并且我的配额限制是每秒 100+,所以我不明白为什么我会受到如此激进的限制.结果是插入需要一个多小时,这对 Drive 来说不是一个很好的广告:-(

I've checked that I have billing enabled and that my quota limits are 100+ per second, so I don't understand why I'm getting throttled so aggressively. The consequence is that the insert is taking over an hour which isn't a great advert for Drive :-(

推荐答案

似乎答案是 Drive 在拒绝 403 错误之前最多允许插入 30 次左右.确切的数字以及解除限速的速率并未公开.另请参阅403 插入速率限制有时会成功

Seems the answer is that Drive will allow up to 30 or so inserts before rejecting with 403 errors. The precise figure, and the rate at which the rate limit is de-restricted are not made public. See also 403 rate limit on insert sometimes succeeds

这篇关于每秒仅插入 1 次后的 403 速率限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆