3 ms·
Haven't been working too much with Java lately, but I think the main cause for the slow startup times are the frameworks. Many frameworks such as Spring had dif
by jpalomaki 9y ago
Haven't been working too much with Java lately, but I think the main cause for the slow startup times are the frameworks. Many frameworks such as Spring had different use case in mind and therefore different things were optimized (for example easy of packaging/deployment vs app startup times). Scanning the classpath, generating proxies etc done at the application startup.
- tapirl 9y agoYes, framework libraries loading contributes much of the 20s warm-up time. However loading the libraries in the official GAE Java SDK will also occupy about 7 seconds if the request needs handle datastore even if frameworks are not used.