Closed Bug 1566497 Opened 5 years ago Closed 5 years ago

Setup auto-scaling in CloudFormation

Categories

(Firefox :: New Tab Page, enhancement, P1)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED
Iteration:
74.2 - Jan 20 - Feb 09

People

(Reporter: mmiermans, Assigned: hganchev)

References

Details

The Proxy Server load will vary over the day and over the week. We can save about 30% in server costs if we automatically scale the number of tasks. My initial idea is to scale based on CPU load, but that's something we could test with a load test.

Priority: P2 → P1
Iteration: --- → 70.3 - Aug 5 - 18
Points: --- → 3
Points: 3 → 1
Priority: P1 → P2
Iteration: 70.3 - Aug 5 - 18 → ---
Assignee: mathijs → bhourigan
Iteration: --- → 72.2 - Nov 4 - 17
Priority: P2 → P1
Iteration: 72.2 - Nov 4 - 17 → 72.3 - Nov 18 - Dec 1
Iteration: 72.3 - Nov 18 - Dec 1 → 73.2 - Dec 16 - Jan 5
Iteration: 73.2 - Dec 16 - Jan 5 → 74.1 - Jan 6 - Jan 19
Assignee: bhourigan → hganchev

PR for review is available here: https://github.com/Pocket/proxy-server/pull/7

Iteration: 74.1 - Jan 6 - Jan 19 → 74.2 - Jan 20 - Feb 09

Autoscaling has been added to the proxy server. Scaling activity will happen based on the following conditions:

  • Scaling up is based on breaching the average CPU alert threshold of > 51% for 2 consecutive periods of 60sec (120sec in total). If triggered, it will add 12 tasks to the current capacity.
  • Scaling down is based on breaching the average CPU alert threshold of < 40% for 2 consecutive periods of 300sec (600sec in total). If triggered, it will remove 6 tasks from the current capacity.

woo hoo! Thank you Hristo! \o/

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.