Skip to content

Commit 95a01a0

Browse files
authored
Merge pull request #78 from tannermares/patch-7
Update cold-starts.mdx
2 parents 8882253 + 3d5da35 commit 95a01a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cold-starts.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Lamby will now publish [CloudWatch Embedded Metrics](https://docs.aws.amazon.com
6969
}}
7070
/>
7171

72-
This data shows the vast majority of your initialized Lambda Contaienrs are proactively initialized. Hence, no cold starts are felt by end users or consumers of your function. If you need to customize the name of your Rails application in the CloudWatch Metrics dimension, you can do so using this config.
72+
This data shows the vast majority of your initialized Lambda Containers are proactively initialized. Hence, no cold starts are felt by end users or consumers of your function. If you need to customize the name of your Rails application in the CloudWatch Metrics dimension, you can do so using this config.
7373

7474
```rails title="config/environments/production.rb"
7575
config.lamby.metrics_app_name = 'MyServiceName'
@@ -223,4 +223,4 @@ Here is a 7 day view from the 4 day mark above. The `TargetValue` is still set t
223223

224224
As mentioned in the [Provisioned Concurrency](#provisioned-concurrency) section we use a simple `DeploymentPreference` value called `AllAtOnce`. When a deploy happens, Lambda will need to download your new ECR image before your application is initialized. In certain high traffic scenarios along with a potentially slow loading application, deploys can be a thundering herd effect causing your concurrency to spike and a small percentage of users having longer response times.
225225

226-
Please see AWS' "[Deploying serverless applications gradually](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html)" guide for full details but one way to soften this would be to roll out your new code in 10 minutes total via the `Linear10PercentEvery1Minute` deployment preference. This will automatically create a [AWS CodeDeploy](https://aws.amazon.com/codedeploy/) application and deployments for you. So cool!
226+
Please see AWS' "[Deploying serverless applications gradually](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html)" guide for full details. However, one way to soften this would be to roll out your new code in 10 minutes total via the `Linear10PercentEvery1Minute` deployment preference. This will automatically create a [AWS CodeDeploy](https://aws.amazon.com/codedeploy/) application and deployments for you. So cool!

0 commit comments

Comments
 (0)