embedded-tomcat

Why my Springboot with embbeded tomcat too slow when process first request?

半腔热情 提交于 2021-02-16 14:08:26
问题 Env. OS:macOS Mojave Version 10.14.5(centOS have same problem) Springboot:2.1.6.RELEASE(embedded tomcat 9.0.21),war My native language is not english,please forgive my poor english。 I am a new player of SpringBoot, which I think is helpful to build my project. Now I have finish my work with it,But a strange phenomenon harass me. My project cost about 5 minutes to response first request, it cost 5 minutes not 5 seconds, the request after first sames normally。It was extraordinary slow, So I

Why my Springboot with embbeded tomcat too slow when process first request?

你离开我真会死。 提交于 2021-02-16 14:05:41
问题 Env. OS:macOS Mojave Version 10.14.5(centOS have same problem) Springboot:2.1.6.RELEASE(embedded tomcat 9.0.21),war My native language is not english,please forgive my poor english。 I am a new player of SpringBoot, which I think is helpful to build my project. Now I have finish my work with it,But a strange phenomenon harass me. My project cost about 5 minutes to response first request, it cost 5 minutes not 5 seconds, the request after first sames normally。It was extraordinary slow, So I