[英]My question is about google custom search api and its "queries per 100 seconds per user" limit
We have an api key for the google custom search service.我们有一个用于 google 自定义搜索服务的 api 密钥。 We are using the rest-api to list search results.我们正在使用 rest-api 来列出搜索结果。 We are now running a client script that needs to perform a lot of queries.我们现在正在运行一个需要执行大量查询的客户端脚本。 If we run this script in one process the "queries per 100 seconds per user" is not exceeded, thats ok.如果我们在一个进程中运行此脚本,则不会超过“每个用户每 100 秒的查询次数”,那没问题。 But the time the script takes to query all the stuff it is too long.但是脚本查询所有内容所需的时间太长了。 So we decided to split it into 4 processes and now, as you can guess, we reach the limit.所以我们决定把它分成 4 个进程,现在,你可以猜到,我们达到了极限。
So, Here is my question...所以,这是我的问题......
What does "user" mean in the quota limit "queries per 100 seconds per user"?配额限制“每个用户每 100 秒的查询”中的“用户”是什么意思? ... I can't figure out if "user" is "per project", "per api key", "per client ip", knowing what is the mean of "user" in the google custom search quota limit will help me to decide what can I do to resolve this problem. ...我不知道“用户”是“每个项目”、“每个 api 密钥”、“每个客户端 ip”,知道谷歌自定义搜索配额限制中“用户”的含义对我有帮助决定我能做些什么来解决这个问题。
Thanks.谢谢。
The API identifies users via the 'quotaUser' or 'userIP' parameters. API 通过“quotaUser”或“userIP”参数识别用户。 See https://cloud.google.com/apis/docs/capping-api-usage#limiting_requests_per_second_per_user请参阅https://cloud.google.com/apis/docs/capping-api-usage#limiting_requests_per_second_per_user
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.