Lambda 函数规模硬件模拟

Lambda function scale hardware analogue

可能我没有正确理解 lambda 并且会被否决,但我感兴趣的是:什么是硬件 cpu 128/256 等的类似物,如果它是 indipendent/dedicated 硬件或 ec2 实例。

来自亚马逊在 this forum post 中的回复:

...we currently use instances comparable to those of a compute optimized ec2 instance. The CPU share dedicated to a function is based off of the fraction of its allocated memory, per each of the two cores. For example, an instance with ~ 3 GB memory available for lambda functions where each function can have up to 1 GB memory means at most you can utilize ~ 1/3 * 2 cores = 2/3 of the CPU. The details may be revisited in the future, but that is the fractional nature of our usage model.