From 136791008b15d0814237fea4c9ce0d08de02d193 Mon Sep 17 00:00:00 2001 From: Ioanna Kokkini Date: Tue, 31 Oct 2023 11:27:00 +0000 Subject: [PATCH] Decrease `minCapacity` of instances to 25 `minCapacity` was bumped from 15 to 30 in https://github.com/guardian/dotcom-rendering/pull/8724. After the fronts migration was completed, it seemed that 15 instances weren't holding up with the new traffic we were sending. That was a hotfix and there is upcoming work to split our stacks (https://github.com/guardian/dotcom-rendering/issues/8351) but until we reach this point we would like to see whether we could handle the traffic with 25 instances. This change is part of the research we're doing to optimise how we scale: https://github.com/guardian/dotcom-rendering/issues/9322. Co-authored-by: George B <705427+georgeblahblah@users.noreply.github.com> Co-authored-by: Ravi <7014230+arelra@users.noreply.github.com> --- dotcom-rendering/cdk/bin/cdk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotcom-rendering/cdk/bin/cdk.ts b/dotcom-rendering/cdk/bin/cdk.ts index f009c38a29c..7d6272dcd5c 100644 --- a/dotcom-rendering/cdk/bin/cdk.ts +++ b/dotcom-rendering/cdk/bin/cdk.ts @@ -13,7 +13,7 @@ new DotcomRendering(app, 'DotcomRendering-PROD', { ...sharedProps, app: 'rendering', stage: 'PROD', - minCapacity: 30, + minCapacity: 25, maxCapacity: 120, instanceType: 't4g.small', });