云功能“呼叫" API限制 [英] Cloud functions "call" API limit

查看:60
本文介绍了云功能“呼叫" API限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获取服务器时间表Firebase,因为很多答案建议先写入Firestore,然后再使用时间戳记"字段.

I wanted to get the server time form firebase and as a lot of answers suggest writing to the firestore and then using Timestamp field is not an option.

我当时正在考虑编写一个云函数来获取服务器时间,但是我检查了限制和配额文档,并提到在100秒内进行16次调用.

I was thinking of writing a cloud function to get the server time, however I checked the limits and quotas documentation and it mentions 16 invocations in 100 seconds.

配额和限制

API调用(CALL)每100秒调用调用" API 16

API calls (CALL) Calls to the "call" API 16 per 100 seconds

这是否意味着从我的应用程序中,我每100秒调用一次可调用函数的次数不能超过16次?

Does this mean from my app I cannot call a callable function more than 16 times per 100 seconds?

推荐答案

否,您误解了该表.您要查找的速率限制是第一行:

No, you're misinterpreting that table. The rate limit you're looking for is the first row:

每秒的函数调用-函数调用的数量 一秒钟.如果超过,所有功能将暂停直到下一个 配额期

Function invocations per second - The number of function invocations in a second. If exceeded, all functions will be paused until the next quota period

每100秒100,000,000

100,000,000 per 100 seconds

Call API有所不同.

The Call API is something different.

这篇关于云功能“呼叫" API限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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