refresh endpoint causes CPU spikes #37971
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
spring-boot version: 3.1.4
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 actuator 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. Filed the github issue in spring cloud as well. CPU spike when /refresh endpoint is hit for config refresh in the service #2325 , but no update there, then filed the issue at spring-guides/gs-centralized-configuration#28, this issue was closed and they suggested that i openn the issue in spring-boot.
The text was updated successfully, but these errors were encountered: