将大文件从 Google Cloud Storage 加载到 Google Cloud Functions 中?

Tho*_*lus 5 cloud google-cloud-storage google-cloud-platform google-cloud-functions

有没有办法将大文件(>100MB)从 Google Cloud Storage 加载到 Google Cloud Functions 中?我在他们的配额中看到“后台函数的最大事件大小”限制为 10MB。我可以按块或类似的方式阅读它吗?

非常感谢。

Fra*_*len 3

Cloud Functions for Storage 由文件的元数据触发,该元数据相对较小,不会达到最大事件侧限制。

访问文件的实际内容,您将使用 Cloud Storage 的 node.js 包,该包不受 10MB 限制的影响。