简体   繁体   English

Google Cloud Storage API 写入限制

[英]Google Cloud Storage API write Limits

Reading the documentation on here I am still not clear of the following points:阅读此处的文档我仍然不清楚以下几点:

  1. Are there any limits on the size of the API request to the Google cloud Storage bucket?对 Google Cloud Storage 存储桶的 API 请求大小是否有任何限制? (We need to transfer PDFs from a CRM to Google Cloud Storage) (我们需要将 PDF 从 CRM 传输到 Google Cloud Storage)

  2. How many files we can send (it mentions a limit of 1000 writes per second) is that the same thing?我们可以发送多少个文件(它提到每秒 1000 次写入的限制)是同一回事吗?

Files are the objects you store in Cloud Storage, so the maximum size limit 5 TB should be considered for individual files.文件是您存储在 Cloud Storage 中的对象,因此应考虑单个文件的最大大小限制 5 TB There is no limit to write across multiple objects, however buckets support roughly 1000 writes per second and then scale up as needed.跨多个对象写入没有限制,但是存储桶支持每秒大约 1000 次写入,然后根据需要进行扩展。

For parallel uploads, please take note that up to 32 objects/files can be composed in a single composition request and a per-project composition rate limit of approximately 1,000 source objects per second.对于并行上传,请注意在单个合成请求中最多可以合成 32 个对象/文件,并且每个项目的合成速率限制约为每秒 1,000 个源对象。

I also recommend that you take a look at best practices on how to ramp up the request rate我还建议您查看有关如何提高请求率的最佳实践

You go with more than 1000 writes per second per bucket - the GCS infrastructure will scale automatically to accommodate it.每个存储桶每秒写入超过 1000 次 - GCS 基础设施将自动扩展以适应它。 The only requirement is not to ramp up the load too quickly, namely "double the request rate no faster than every 20 minutes".唯一的要求是不要过快地增加负载,即“请求速率不超过每 20 分钟加倍”。

https://cloud.google.com/storage/docs/request-rate#ramp-up https://cloud.google.com/storage/docs/request-rate#ramp-up

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM