Skip to content

🎥 Make videos programmatically with React

burst limit

Jonny Burger630c78d7511e
diff --git a/packages/docs/docs/lambda.md b/packages/docs/docs/lambda.md
index 43ef216bfd..d25500a125 100644
--- a/packages/docs/docs/lambda.md
+++ b/packages/docs/docs/lambda.md
@@ -56,7 +56,6 @@ The following regions are available for Remotion Lambda:
- You only have up to 10GB of storage available in a Lambda function. This must be sufficient for both the separated chunks and the concatenated output, therefore the output file can only be about 5GB maximum, limiting the maximum video length to around 2 hours of Full HD video.
- [Lambda has a global limit of 1000 concurrent lambdas per region by default, although it can be increased](/docs/lambda/troubleshooting/rate-limit).
-- Lambda has a [burst limit of as low as 500](https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html) (depending per region) functions that can be spawned in a short amount of time. If you render a lot of videos, you must slowly build up invocations rather than trigger them all at once.
## Cost
diff --git a/packages/docs/docs/lambda/checklist.md b/packages/docs/docs/lambda/checklist.md
index aa23d3b67a..26a36372a1 100644
--- a/packages/docs/docs/lambda/checklist.md
+++ b/packages/docs/docs/lambda/checklist.md
@@ -25,10 +25,6 @@ If your video is based on user input, prevent your users from rendering very lon
Make sure your AWS user only has as many permissions as needed and store your credentials as environment variables. Review the [Permissions](/docs/lambda/permissions) page to see what the minimum amount of permissions is.
-### AWS burst limit
-
-Familiarize yourself with the [AWS burst limit](https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html). Essentially, you need to avoid a quick spike in video renders that will cause the burst limit to take effect. If you need to scale beyond the burst limit, consider scaling across multiple regions as the burst limit only applies for a certain region. Another strategy to consider is creating multiple sub-accounts in your AWS organization as the burst limit only affects a single account.
-
### Selecting the right concurrency
If you are using the [`framesPerLambda`](/docs/lambda/rendermediaonlambda#framesperlambda) option, make sure that for each video you render, the parameter is set in a way that it stays within the allowed bounds (no more than 200 lambda functions per render). See: [Concurrency](/docs/lambda/concurrency)
diff --git a/packages/docs/docs/lambda/cli/quotas.md b/packages/docs/docs/lambda/cli/quotas.md
index 88f8d00cf6..4845ef6d90 100644
--- a/packages/docs/docs/lambda/cli/quotas.md
+++ b/packages/docs/docs/lambda/cli/quotas.md
@@ -32,8 +32,8 @@ https://us-east-1.console.aws.amazon.com/support/home#/case/?displayId=974278145
The maximum amount of Lambda functions which can concurrently execute.
Run `npx remotion lambda quotas increase` to ask AWS to increase your limit.
-Burst concurrency: 3000, but only 1000 effective because of concurrency limit
-The maximum amount of Lambda functions that can spawn in a short amount of time
+Burst concurrency: 1000
+The maximum amount of concurrency increase in 10 seconds
</pre>
</details>
diff --git a/packages/docs/docs/lambda/region-selection.md b/packages/docs/docs/lambda/region-selection.md
index 0ea86ce8cb..5fb5c2f9f8 100644
--- a/packages/docs/docs/lambda/region-selection.md
+++ b/packages/docs/docs/lambda/region-selection.md
@@ -50,13 +50,35 @@ If you don't set a region, Remotion will use the default region.
## Which region should I choose?
-Note that different regions have a different limit on how many Lambda functions can be started in a short amount of time [("burst limit")](https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html).
-
-- `us-east-1`, `us-west-2`, `eu-west-1`: Burst concurrency = 3000
-- `ap-northeast-1`, `eu-central-1`, `us-east-2`: Burst concurrency = 1000
-- All other regions = 500
-
-**Because of this, we recommend hosting your primary infrastructure in `us-east-1`, `us-west-2` or `eu-west-1` for maximum scalability.**
+Different regions have different pricing. Use the following table to get a sense of the pricing differences.
+
+Data may be out of date, please consult the [AWS Lambda Pricing page](https://aws.amazon.com/lambda/pricing/) for the latest information.
+
+| Region | Price per GB-second |
+| -------------- | ------------------- |
+| ap-east-1 | 0.0000183000 |
+| af-south-1 | 0.0000176800 |
+| me-south-1 | 0.0000165334 |
+| eu-south-1 | 0.0000156138 |
+| ap-south-1 | 0.0000133334 |
+| ap-northeast-3 | 0.0000133334 |
+| ap-northeast-2 | 0.0000133334 |
+| ap-southeast-1 | 0.0000133334 |
+| ap-southeast-2 | 0.0000133334 |
+| ap-northeast-1 | 0.0000133334 |
+| ca-central-1 | 0.0000133334 |
+| eu-central-1 | 0.0000133334 |
+| eu-west-1 | 0.0000133334 |
+| eu-west-2 | 0.0000133334 |
+| eu-west-3 | 0.0000133334 |
+| eu-north-1 | 0.0000133334 |
+| sa-east-1 | 0.0000133334 |
+| us-east-1 | 0.0000133334 |
+| us-east-2 | 0.0000133334 |
+| us-west-1 | 0.0000133334 |
+| us-west-2 | 0.0000133334 |
+
+Previously, this section mentioned differences in the amount of concurrent lambdas that can be run in a region. This is no longer the case.
## Enabling regions in the AWS console
diff --git a/packages/docs/docs/lambda/troubleshooting/rate-limit.md b/packages/docs/docs/lambda/troubleshooting/rate-limit.md
index 75e3221b66..77ab2bfc93 100644
--- a/packages/docs/docs/lambda/troubleshooting/rate-limit.md
+++ b/packages/docs/docs/lambda/troubleshooting/rate-limit.md
@@ -12,10 +12,10 @@ If you get an error message:
TooManyRequestsException: Rate Exceeded.
```
-while calling a Lambda function, it means your concurrency limit or burst limit has been reached.
+while calling a Lambda function, it means your concurrency limit has been reached.
- **Concurrency limit**: The maximum amount of Lambda functions that can run concurrently per region per account.
-- **Burst limit**: The maximum amount of Lambda functions which can spawn in a short amount of time.
+- **Burst limit**: The maximum amount of concurrency increase in 10 seconds (the burst limit is 1000)
## Default concurrency limits
diff --git a/packages/lambda/src/cli/commands/quotas/list.ts b/packages/lambda/src/cli/commands/quotas/list.ts
index c9116a44b9..e22c93a909 100644
--- a/packages/lambda/src/cli/commands/quotas/list.ts
+++ b/packages/lambda/src/cli/commands/quotas/list.ts
@@ -104,7 +104,7 @@ export const quotasListCommand = async (logLevel: LogLevel) => {
Log.info(
CliInternals.chalk.gray(
- 'The maximum amount of Lambda functions that can spawn in a short amount of time',
+ 'The maximum amount of concurrency increase in 10 seconds',
),
);
};