[jboss-dev-forums] [JBoss ESB Development] - Re: Performance Improvement Proposal: Cache result of HttpSe

dward do-not-reply at jboss.com
Mon Dec 7 10:31:29 EST 2009


Granted the code as posted leaves the door open for the possibility for a call to request.getLocalName() to be called and cached more than once, but this would only happen very early on in the server instance's life.  I had to weigh that vs. having to synchronize getting the localName from the localAddr_to_localName map every invocation...  Thoughts?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269376#4269376

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269376



More information about the jboss-dev-forums mailing list