启动加速方案

1、Spring Bean 异步初始化
2、模块并行化启动
3、减少业务初始化
4、延迟初始化,非必要的bean进行延迟加载
5、Spring Context Indexer
6、关闭JMX
7、关闭分层编译
8、关闭endpoins监控功能
9、排出多余的依赖jar
10、减少@ComponentScan 和 @SpringBootApplication扫描范围
11、swagger指定只扫描指定路径的类
12、AOP

你可能感兴趣的:(spring,java,mybatis)