云运行请求限制 [英] Cloud Run Request Limit

查看:52
本文介绍了云运行请求限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,Cloud Run每个请求的请求限制为 32 Mb ,这使得无法上传视频之类的文件(放置时未更改GCP存储).同时,所有配额页面未列出此限制,因为您可以请求增加支持.所以问题是-有人知道如何在给定的限制下增加此限制或如何使它(上传视频和更大的文件)成为可能吗?

解决方案

Google推荐的最佳做法是使用签名URL来上传文件,这对于文件上传来说可能更具可扩展性和可靠性(通过不稳定的网络):

有关更多信息,请参见以下URL: https://cloud.google.com/storage/docs/access-控制/签名网址

Currently, Cloud Run has a request limit of 32 Mb per request, which makes it impossible to upload files like videos (which placed with no changes to GCP Storage). Meantime All Quotas page doesn't list this limitation as the one you can request an increase from support. So question is - does anyone know how to increase this limit or how to make it possible (uploading video and bigger files) to Cloud Run with given limitation?

解决方案

Google recommended best practice is to use Signed URLs to upload files, which is likely to be more scalable and reliable (over flaky networks) for file uploads:

see this url for further information: https://cloud.google.com/storage/docs/access-control/signed-urls

这篇关于云运行请求限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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