Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
sample-empty
sample-mvc
sample-webflux
spring-boot-lazy-actuator
.gitignore
README.adoc
mvnw
mvnw.cmd
pom.xml

README.adoc

This project makes your Spring Boot actuators start up lazily, saving quite a chunk of time on startup (400-600ms out of 1800-2000ms in a simple single-endpoint demo app). The first time an actuator endpoint is queried over HTTP, you pay back the cost on the first request. It works by creating a child application context with just the actuator autoconfig in it.

It also makes every bean @Lazy by default, which boosts startup time of any Spring Boot app, in the case that you don’t use all the autoconfigured beans.

You can switch off the laziness with spring.lazy.enabled=false (system property, command line etc.).

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.