Spring startup performance issues

前端 未结 6 706
春和景丽
春和景丽 2020-12-07 15:34

I\'m trying to integrate Spring in a pretty large application with thousands of classes, and i\'m experiencing huge delays starting my container because of component-scannin

6条回答
  •  春和景丽
    2020-12-07 16:30

    The only thing that comes in my mind, beside reducing the directories to be scanned, is the use of lazy bean initialization. May this could help if you have a lot of beans

提交回复
热议问题