Heloi Stan, from mobile (sorry for typos ;)
On Tue, Oct 29, 2024, 18:05 <s...@stantastic.nl.invalid> wrote: > Hi there, > > I am looking for some advise on how to improve the startup time of my > Wicket webapp. The company I work for has developed an appliance that > frequently needs to be reset when there are configuration changes. The > web interface of this appliance is a wicket web application that runs on > Apache Tomcat 9. > > Sadly our hardware isn't very high end. It has a Celeron processor and 2 > or 4GB of RAM. This makes starting the device itself slow (several > seconds), and starting the Wicket app even slower (20+ seconds for > Tomcat to load). > This might happen due to long SecureRandom initialization You can speed-up start by using 'urandom' But this one is less secure > I was wondering if anyone could give me some pointers on how to make > some gains here. I have looked into some Tomcat optimization guides, and > have gained a bit by turning off scanning JAR files but nothing > spectacular. I have also turned off Wicket's > PackageStringResourceLoader, which seems to help a bit. but again: no > huge gains. > > If anyone could give me some hints, it would be much appreciated. > > Thanks. > > Stan