> From: David Kerber [mailto:dcker...@verizon.net]
> The synchronized section doesn't do a whole lot, so it
> doesn't take long to process.

Indeed.  So take a thread dump and see what's happening before making *any* 
changes to this key part.

> My question is, what kinds of operations need to be
> synchronized?  All I do is decrypt the data from the POST,
> send a small
> acknowledgement response back to the site, and write the line
> to the log
> file.  Does that sound like something that would need to be
> synchronized?  If not, pulling that out would be a really easy test to
> see if it helps my performance issue.

Decrypt: parallel.
Send ack: parallel.
Increment counters: synced.
Write to log file: synced (or you'll have some very odd stuff happening).

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to