Very slow Spring Boot application startup

后端 未结 8 1620

I have a simple Spring Boot application that connects to a PostgreSQL database and serves as a JSON service. Somehow the startup has become very slow, see timings 10:37:10 a

8条回答
  •  情话喂你
    2020-12-23 10:13

    I found the startup takes long time when the db server is far, in my case it won't take time when using the localhost db, and it take about 20 seconds in product enviroment with db is in us and server is in jp.

提交回复
热议问题