Google云端功能按地区的性能差异极大

时间:2018-08-13 19:25:09

标签: google-cloud-platform google-cloud-functions

我已将google hello-world function部署到两个不同的区域:

2018-08-13 21:05:14.179 MESZ Cloud Functions UpdateFunction us-central1:helloGET

这些功能平均需要> 1000毫秒才能运行:

2018-08-13 21:06:07.735 MESZ helloGET Function execution took 1268 ms, finished with status code: 304

部署到

2018-08-13 20:59:49.021 MESZ Cloud Functions CreateFunction europe-west1:helloGET

该函数在(预期的)ms范围内运行:

2018-08-13 21:05:57.636 MESZ helloGET Function execution took 6 ms, finished with status code: 304

此处显示的数据来自堆栈驱动程序日志,因此延迟不是问题。该应用程序是完全相同的(helloWorld)。这些结果是可重复的。这里发生了什么?有任何想法吗?

0 个答案:

没有答案
相关问题