start web applications simultaneously
With Tomcat 7.0.23+ you can configure it to start several web applications in parallel. This is disabled by default but can be enabled by setting the startStopThreads attribute of a Host to a value greater than one.
Updated by Alexey Bobyr almost 4 years ago
- Due date set to 06/17/2016
- Status changed from New to Resolved
- % Done changed from 0 to 100
tomcat startStopThreads for Engine + hosts and some async web app init modifications gives next figures:
jre1.8.0_77 before start up from 20-24 sec.
if web application war is newer tomcat will update webapps directory thats why start up variant from 20-24.
after applied modifications.
tomcat starts up : 8999 ms
with IBM jdk 1.8 from 10 - 12 sec.
[root@web logs]# rpm -qa | grep scalix scalix-sis-22.214.171.12457-1.noarch scalix-tomcat-connector-12.6.0-14721.rhel7.noarch scalix-wireless-126.96.36.19984-1.noarch scalix-tomcat-7.0.69-44.noarch scalix-postgres-12.6.0-15963.noarch scalix-platform-188.8.131.5298-1.noarch scalix-swa-184.108.40.20690-1.noarch [root@web logs]# [root@web logs]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@web logs]#
Please not that your start up time can be less or more. Here time statistic is just to confirm that it loads faster
but speed depends on which jre is used, what hardware etc.
and can be vary for customers.