Skip to content
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

1040 Adjust health checks for ECS #67

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Conversation

leite08
Copy link
Member

@leite08 leite08 commented Jul 30, 2024

Ref. metriport/metriport-internal#1040

Dependencies

Description

Adjust health checks for ECS - context on each change.

Release Plan

  • Merge this

Comment on lines 67 to +68
cpu: 1 * vCPU,
memoryLimitMiB: 1024,
memoryLimitMiB: 2048,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +77 to +78
cpu: 1 * vCPU,
memoryLimitMiB: 2048,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.5 vCPU was not being enough to start the service - health checks were failing, even adjusting those thresholds - context

Comment on lines +294 to +296
unhealthyThresholdCount: 4,
interval: Duration.seconds(20),
timeout: Duration.seconds(15),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +56 to +57
cpu: 4 * vCPU,
memoryLimitMiB: 8192,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, considering the original comment and the weekly load of max CPU, taking a closer look at some of the spikes, we see they run for ~100% for minutes, so its clear the CPU is also a bottleneck - see below:

Jul 27:

image

Jul 26

image

Jul 29 (single spike)

image

@leite08 leite08 marked this pull request as ready for review July 30, 2024 23:50
Copy link

@jonahkaye jonahkaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@leite08 leite08 added this pull request to the merge queue Jul 31, 2024
@leite08 leite08 removed this pull request from the merge queue due to a manual request Jul 31, 2024
@leite08 leite08 added this pull request to the merge queue Jul 31, 2024
Merged via the queue into develop with commit 3c6650f Jul 31, 2024
3 checks passed
@leite08 leite08 deleted the 1040-resize-db-and-ecs_2 branch July 31, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants