知识卡片
预留并发不等于预置并发
Reserved concurrency为函数分配并发预算并限制其最大并发,Provisioned concurrency预先初始化执行环境以降低冷启动。两者解决不同问题,可按套餐组合;共享函数的预算仍由多个租户竞争,不能当作自动提供每租户公平性。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Serverless SaaS: Architecture Patterns and Strategies · 查看原书依据
the scale and performance profile of each tier. The provisioned concurrency setting is used to control the number of pre-initialized execution environments you want in your Lambda environment (tier). For basic tier tenants, I’ve set this to zero with the assumption that the concurrent activity across multiple tenants will keep most functions warm, reducing the need to pre-warm any of
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第11章《Serverless SaaS: Architecture Patterns and Strategies》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch11.html)
- 结论依据:原文具体说明Reserved concurrency为函数分配并发预算并限制其最大并发,Provisioned concurrency预先初始化执行环境以降低冷启动;本卡据此归纳机制及适用边界。
- 原始内容:the scale and performance profile of each tier. The provisioned concurrency setting is used to control the number of pre-initialized execution environments you want in your Lambda environment (tier). For basic tier tenants, I’ve set this to zero with the assumption that the concurrent activity across multiple tenants will keep most functions warm, reducing the need to pre-warm any of