----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

folks,

Whenever calling 

HttpSession session.getSession(true);

it wil ultimate drill down to:

public class JServServletManager{
 public synchronized HttpSession getSession(String sessionId) {
        return (HttpSession) sessions.get(sessionId);
    }
...
}

This obviusly means that every request(with session enable) would have to be
SYCHORNIZED via JServServletManager.getSession(sessionId) per VM. Is it THE
bottleneck!? And if it is, anyway to get around it so that more parallelism
can be achieve? I was thinking may be creating a special type of hashtable
such that sychronization could happen at the bucket level instead of the
entire object.

regards,

-dy





_______________________________________________________
Visit Excite Shopping at http://shopping.excite.com 
 The fastest way to find your Holiday gift this season



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to