How does Lambda@Edge scaling work?

0

How does Lambda@Edge handle scaling when traffic increases? Is it automatic, or do I need to configure anything?

What are the limitations on Lambda@Edge scaling? Are there quotas or limits I should be aware of?

When dealing with critical functions, is there a way to ensure they have enough resources? Are there different ways to configure concurrency for Lambda@Edge functions?

AWS
Piotrek
質問済み 1ヶ月前80ビュー
1回答
2
承認された回答

Lambda@Edge capacity scales dynamically in response to increased traffic. It depends on the available concurrency of AWS Lambda in your account and AWS regions. While the concept of a region doesn’t apply to Lambda@Edge functions, regional AWS Lambda quotas correspond with Lambda@Edge scaling in Regional Edge Caches. The following quotas apply:

  • for requests per second, per region, per function
  • for concurrent executions per region, across all functions in each AWS account

These quotas can be increased by requesting a service quota increase. Additionally, the following quotas apply:

  • for additional execution environments provisioned every 10 seconds, per region, per function
  • for requests per second, per execution environment, even if the function execution takes less than 100ms

While the two quotas regarding execution environments can’t be changed for on-demand capacity, you are able to use AWS Lambda reserved concurrency and provisioned concurrency options for Lambda@Edge functions.

With reserved concurrency, you can reserve a portion of your account's concurrency for a specific function, to ensure that critical functions always get the concurrency they need.

With provisioned concurrency, execution environments are ready to respond immediately to incoming function requests. This is useful not only for the sake of providing concurrency to handle web traffic, but also for reducing cold start latencies of functions.

For more information, see Function scaling in the AWS Lambda Developer Guide.

AWS
Piotrek
回答済み 1ヶ月前
profile pictureAWS
エキスパート
レビュー済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
profile pictureAWS
エキスパート
iBehr
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ