On 11/10/2011 10:02, Felix Schumacher wrote: > Hi Alexander, > On Tue, 11 Oct 2011 09:20:29 +0200, Alexander Knöller wrote: >> Hi Felix. >> >> Then you are already working on a patch? >> I haven't done any tomcat development, yet. >> And I am not familiar with the ettiquette for developing patches. >> So if you are already working on it, I won't start doing the same, right? >> Except cuncurrent development is favored? > I attached a patch to > https://issues.apache.org/bugzilla/show_bug.cgi?id=46264 the bug entry > Mark pointed at. So you can have a look at it. Feedback is always > welcome. Stopping contexts in parallel is completely missing at the > moment for example.
I have added a patch based on the previous patches that adds: - threaded start/stop for Contexts - threaded start/stop for Hosts - threaded deployment Control over the number of threads is via server.xml and/or JMX. This can be changed dynamically. Review, feedback, testing etc. welcome. With 4 threads rather than the current 1 (on a 8-core machine), I saw a 20-25% improvement in start time with a large number of Contexts that all start quickly. I'd expect to see better results in situations where 1 few Contexts start slowly but most are quick. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org