-
Notifications
You must be signed in to change notification settings - Fork 9
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
Optimize avni_server jvm config for prod env #1578
Comments
…th gc logs for a 4gb system
Explanation for config changes done:
|
As of now(23 Apr 2024, 5th day from deployment of the jvm and server config changes), it looks like the jvm config targeting a 4gb machine is working fine. Total JVM memory has remained at around 3 GB. Will monitor for the day and change the instanceType back to t3.medium if things look fine. CC: @1t5j0y, @vinayvenu |
Downgraded Prod server EC2 instanceType back to t3.mediumfew days ago, performance looks good. |
…o correspond to 8gb instance
…service.template
Optimize avni_server jvm config for prod env.
We have recently made following config changes to optimize memory and cache usage for avni_server:
There is need to further optimize this keeping in mind that the prod ec2 instance will be a 4gb RAM , 2 CPU units machine with 1 GB of additional swap space.
#Approach
We will retain the current t3.large ec2 instance for prod-avni-server, which has 8gb ram, but apply jvm config that should work for a 4gb machine. After which we'll monitor for performance and threshold limits breach / Repeated GC need. If they remain within bounds, we'll downgrade the system to a t3.medium ec2-instance.
The text was updated successfully, but these errors were encountered: