Skip to content

Commit a7188fc

Browse files
feat: Serve 10% of tag-page-rendering PROD traffic with ECS
After load testing, we're confident that ECS can serve production traffic. 10% equates to 70-100 requests/minute. Co-authored-by: connoromalleyatwork <connoromalleyatwork@users.noreply.github.com>
1 parent 2d58444 commit a7188fc

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

dotcom-rendering/cdk/bin/cdk.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ export const TagPageRenderingPropsPROD: RenderingCDKStackProps = {
185185
},
186186
},
187187

188-
// Route all traffic to EC2
188+
// Route 90% traffic to EC2, 10% to ECS
189189
targetGroupWeights: {
190-
ec2: 1,
191-
ecs: 0,
190+
ec2: 9,
191+
ecs: 1,
192192
},
193193
},
194194
};

dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5459,13 +5459,13 @@ exports[`The RenderingCDKStack matches the snapshot for Tag Page Rendering PROD
54595459
"TargetGroupArn": {
54605460
"Ref": "TargetGroupTagpagerendering42E428EE",
54615461
},
5462-
"Weight": 1,
5462+
"Weight": 9,
54635463
},
54645464
{
54655465
"TargetGroupArn": {
54665466
"Ref": "TagpagerenderingEcsTargetGroupTagpagerendering0976D2E5",
54675467
},
5468-
"Weight": 0,
5468+
"Weight": 1,
54695469
},
54705470
],
54715471
},

0 commit comments

Comments
 (0)