You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/19 00:12:36 UTC

DO NOT REPLY [Bug 3884] - SingleThreadModel servlets not pooled results in low performance

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3884>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3884

SingleThreadModel servlets not pooled results in low performance

jmm@sublogic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From jmm@sublogic.com  2003-07-18 22:12 -------
With 4.1.24, I make a simple isThreadSafe="false" jsp with only:
try {
    System.out.println("Before sleep, instance is "+this+" time 
is "+System.currentTimeMillis());
    Thread.sleep(60*1000);
    System.out.println("After sleep, instance is "+this+" time 
is "+System.currentTimeMillis());
} catch(InterruptedException ex) {}


and at the moment, it serializes, as hitting it w/ 2 browsers leads to:

Before sleep, instance is org.apache.jsp.sleep_jsp@1b66b06 time is 1058566078026
After sleep, instance is org.apache.jsp.sleep_jsp@1b66b06 time is 1058566138034
Before sleep, instance is org.apache.jsp.sleep_jsp@1b66b06 time is 1058566138034
After sleep, instance is org.apache.jsp.sleep_jsp@1b66b06 time is 1058566198042

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org