Google App engine + Spring = slow startup?
I read that Google App Engine (GAE) will shutdown your app if it is idle and start / load everything again when it receives a request. And I know that Spring startup is slow like 2-3 seconds even for a small web application. Does GAE using Spring really suffer from this badly?
Thanks in advance.
+3
source to share
1 answer
It's really not that bad, but given that your instances are terminating and starting constantly, you should work to keep your startup as fast as possible. A few pointers to consider:
- Enable Warm Up Requests
- Include resident instances
- Optimize Spring config (There are great suggestions in this article )
+4
source to share