I have a traditional three-tier application with spring. One of my repositories takes> 3 minutes to initialize, so I thought of some sort of multi-threaded approach to speed up the whole process - I think that most services and controllers in my dependency tree can already be started, so only a few should wait for the last repository .
Is there any good practice approach?
source
share