Lazy cache provider initialization [SPR-17646] #22175
Comments
Stéphane Nicoll commented
Just a note that several things may go wrong (configuration file not found, configuration invalid, network topology that has to be validated on startup) so whatever we do here should be opt-in. It would be nice though if we wouldn't have to do that for every single component that we optimize this way |
Some additional data point here https://github.com/scratches/spring-cache-bench |
For a start, #22420 covers the pointcut processing part: We are not traversing classes now if they are known to not declare the desired annotation type. This is implemented for our async, caching, and transaction annotations, ignoring |
Dave Syer opened SPR-17646 and commented
Several opportunities:
@Transactional
(and@Secured
etc.).Some analysis and benchmarks here: spring-projects-experimental/spring-init#5
Affects: 5.1.3
Reference URL: spring-projects-experimental/spring-init#5
The text was updated successfully, but these errors were encountered: