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

[no ticket] Use higher ASG targets #3044

Merged
merged 3 commits into from
Nov 26, 2024
Merged

[no ticket] Use higher ASG targets #3044

merged 3 commits into from
Nov 26, 2024

Conversation

coilysiren
Copy link
Collaborator

@coilysiren coilysiren commented Nov 26, 2024

Context

At 50% memory, the frontend hits that memory cap easily and immediately gets cycled out. I wasn't really expecting this behavior, but you live and you learn.

Changes proposed

Increases the memory target to 99%, so nextjs only spins up new containers when after containers max out their cache. This won't meaningfully impact the backend, because the because the backend doesn't have an infinitely* scaling cache.

* There's not significant indication that the nextjs cache is infinitely scaling. It might just scale higher than our current memory numbers.

I also increased the CPU target to 75%, which may come back to bite me I dunno. We'll see.

@coilysiren coilysiren changed the title up ASG targets [no ticket] Use higher ASG targets Nov 26, 2024
@coilysiren coilysiren marked this pull request as ready for review November 26, 2024 20:23
Copy link
Collaborator

@mdragon mdragon left a comment

Choose a reason for hiding this comment

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

👍🏻

@coilysiren coilysiren merged commit 8903243 into main Nov 26, 2024
6 checks passed
@coilysiren coilysiren deleted the kai/asg-target branch November 26, 2024 20:46
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