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

Reduce memory usage of yace by splitting the staging process #3387

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

corlettb
Copy link
Contributor

@corlettb corlettb commented Sep 7, 2023

What

Reduce memory usage of yet-another-cloudwatch-exporter by splitting the staging process into two apps. The staging process will use 3GB and the running version will use 128MB.

Mask the AWS secret from the concourse logs.

Why

As part of the yet-another-cloudwatch-exporter upgrade we had to increase memory from 128M to 3GB. This was because the new aws client requires a lot of RAM to compile.

Sadly cloud foundry does not support different staging and running memory sizes. This process of downloading the droplet from one app and upload as another is a workaround to this issue.

How to review

Look at the changes.
Tested in dev05


🚨⚠️ Please do not merge this pull request via the GitHub UI ⚠️🚨

@corlettb corlettb force-pushed the 185715950-reduce-yace-memory branch 4 times, most recently from cec8ffc to 9456b4e Compare September 7, 2023 13:13
@corlettb corlettb force-pushed the 185715950-reduce-yace-memory branch from 9456b4e to 5f5ede6 Compare September 19, 2023 13:47
@risicle risicle force-pushed the 185715950-reduce-yace-memory branch from 5f5ede6 to 6205481 Compare September 19, 2023 15:23
Copy link
Member

@risicle risicle left a comment

Choose a reason for hiding this comment

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

Yup, appears to work well for me

@corlettb corlettb merged commit cf2a240 into main Sep 20, 2023
8 checks passed
@corlettb corlettb deleted the 185715950-reduce-yace-memory branch September 20, 2023 10:27
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