-
Notifications
You must be signed in to change notification settings - Fork 12
feat: vertically scale cluster machine; reduce overall ec2 count #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Terraform Run Output 🤖Format and Style 🖌
|
| Pusher | @DecFox |
| Action | pull_request |
| Environment | dev |
| Workflow | .github/workflows/check_terraform.yml |
| Last updated | Thu, 20 Nov 2025 13:16:00 GMT |
| asg_min = 2 | ||
| asg_max = 10 | ||
| asg_desired = 7 | ||
| asg_min = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
min should be 2 to have one instance per AZ
| asg_min = 2 | ||
| asg_max = 5 | ||
| asg_desired = 3 | ||
| asg_min = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
| key_name = module.adm_iam_roles.oonidevops_key_name | ||
| ecs_cluster_id = module.ooniapi_cluster.cluster_id | ||
| task_memory = 128 | ||
| task_memory = 512 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would try with 256 first to see how it behaves, ooniprobe doesn't needs that much memory
We experienced an increase in the avg INSERT query latency during high measurement volume after scaling the ecs cluster to include more machines. This could be due to the db being a bottleneck in terms of the number of client machines in the cluster. To this end, this diff reduces the number of machines and spins up larger ones instead so the total count of machines stays low.