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 DEV/QA/PRD API HTTP server CPU and memory allocations #30

Open
logstar opened this issue Sep 16, 2021 · 4 comments
Open

Reduce DEV/QA/PRD API HTTP server CPU and memory allocations #30

logstar opened this issue Sep 16, 2021 · 4 comments
Assignees

Comments

@logstar
Copy link
Contributor

logstar commented Sep 16, 2021

The database backed API HTTP server, implemented in #28, uses less than 1GB of memory when handling one request at a time, in local testing environment.

@blackdenc - Could you also profile the memory usage when working on load testing #27?

Based on the profiling and load testing results, the following CPU and memory resource allocations can be reduced.

vcpu_container = "4096"
memory_container = "10240"
vcpu_task = "4096"
memory_task = "10240"

@blackdenc
Copy link
Contributor

Updated #27 with resource utilization

@logstar
Copy link
Contributor Author

logstar commented Sep 16, 2021

Updated #27 with resource utilization

Once the scaling rules are settled in #31 , the CPU and memory allocations can be reduced accordingly.

@logstar
Copy link
Contributor Author

logstar commented Sep 20, 2021

With #31 closed, the CPU and memory allocations can be reduced according to the load testing results in #27 only.

@blackdenc
Copy link
Contributor

Now that the API has been deployed, we can work on this as an enhancement and reduce the resources in the DEV instance and test there

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

No branches or pull requests

2 participants