Feature #60504
start web applications simultaneously
Status:
Resolved
Priority:
Immediate
Assignee:
Alexey Bobyr
Category:
Scalix Tomcat
Target version:
Start date:
06/16/2016
Due date:
06/17/2016
% Done:
100%
Estimated time:
Operation System:
--
Description
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.
History
Updated by Alexey Bobyr over 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-12.6.0.16057-1.noarch scalix-tomcat-connector-12.6.0-14721.rhel7.noarch scalix-wireless-12.6.0.15584-1.noarch scalix-tomcat-7.0.69-44.noarch scalix-postgres-12.6.0-15963.noarch scalix-platform-12.6.0.15498-1.noarch scalix-swa-12.6.0.17690-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.
Updated by Alex I over 4 years ago
- Subject changed from Starting several web applications in parallel to start web applications simultaneously