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

CPU spike when /refresh endpoint is hit for config refresh in the service #2325

Open
rajanigk opened this issue Sep 8, 2023 · 0 comments
Open

Comments

@rajanigk
Copy link

rajanigk commented Sep 8, 2023

Describe the bug

spring-cloud version : 2022.0.3 ( same is observed since spring cloud HOXTON release)

Sample
we are using spring-cloud-config-server with s3 backend. When we do config refresh using the acuator endpoint refresh, in the spring boot application using spring-cloud-config-client library, we see huge CPU spike. it is requiring atleast 7-8 times the normal CPU needed by the application. Is this behaviour expected? I observed this CPU spike even if we have not used @RefreshScope in any class to absorb the dynamic config change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant