简体   繁体   English

我的问题是关于 google 自定义搜索 api 及其“每个用户每 100 秒的查询”限制

[英]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.

相关问题 Google Drive API,增加配额限制的成本,“每个用户每 100 秒的查询次数”和“每 100 秒的查询次数” - Google Drive API, Cost of increasing the limit of quotas, "Queries per 100 seconds per user" and "Queries per 100 seconds" “超过配额组‘ReadGroup’的配额并限制服务 google api 的‘每用户每 100 秒读取请求数’ - "Quota exceeded for quota group 'ReadGroup' and limit 'Read requests per user per 100 seconds' of service google api 无法选中 GCP 的复选框以增加 Google Drive api 的“每个用户每 100 秒的查询次数” - Can't check the checkbox of GCP to increase "Queries per 100 seconds per user" of Google drive api Google Drive API:每个用户每 x 秒的查询次数 - Google Drive API: Queries per x seconds per user 更改Google Analytics(分析)API允许的“每用户每秒查询数” - Change the “queries per second per user” allowed for Google Analytics API 配额组“AnalyticsDefaultGroup”超出配额并限制“每个用户每 100 秒的请求数” - Quota exceeded for quota group 'AnalyticsDefaultGroup' and limit 'Requests per user per 100 seconds' 每天在Google自定义搜索上搜索500000个查询 - Search 500000 queries on google custom search per day Google AnalyticsAPI | 处理每100秒100 req的配额限制 - Google Analytics API | Handling Quota limits of 100 req per 100 seconds 每秒 Adwords API 查询速率限制 - Adwords API queries per second rate limit 谷歌云上每个项目的 API 密钥限制 - Limit to API keys per project on google cloud
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM