tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Servlet thread safety in Tomcat
Date Mon, 09 Feb 2004 19:20:48 GMT


>But if  I am to synchronise my code blocks won't that slow done the
>application, or is there a "mode" that you can put Tomcat into so that
>it will create a new instance
>servlet thread  with its own variables and execution space and stuff
>like that .Because I was thinking  putting all those synchronized
>will slow down the app.

Seeing as how adding a synchronized block is easy, why don't you test
it?  You might find that the performance is satisfactory ;)

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message