Re[5]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-29 Thread Jacob Kjome
move the outer if. RE>> Also look at: RE>> http://www.javaworld.com/javaworld/jw-11-2001/jw-1116-dcl.html RE>> (This article also states that ThreadLocal works even slower RE>> before JDK 1.4) >>> -Original Message- >>> From: Jacob Kjome [mailto

Re[4]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-29 Thread Jacob Kjome
ThreadLocal works even slower RE> before JDK 1.4) >> -Original Message- >> From: Jacob Kjome [mailto:hoju@;visi.com] >> Sent: Tuesday, October 29, 2002 5:12 AM >> To: Tomcat Users List >> Cc: Craig R. McClanahan >> Subject: Re[2]: DBCP speed of lookup

RE: Re[2]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-29 Thread Ralph Einfeldt
ent: Tuesday, October 29, 2002 5:12 AM > To: Tomcat Users List > Cc: Craig R. McClanahan > Subject: Re[2]: DBCP speed of lookup -vs- stored reference to > Datasource? > > I was just making an attempt to avoid the > Double-Checked Locking issue and the article &

Re[2]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Jacob Kjome
;, > Jacob Kjome <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re[2]: DBCP speed of lookup -vs- stored reference to Datasource? > > Hello Craig, > > seem comments inline below > > Monday, October 28, 2002, 12:14:05 PM, you wrote

Re[2]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Craig R. McClanahan
8:08:09 -0600 > >> From: Jacob Kjome <[EMAIL PROTECTED]> > >> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > >> To: Tomcat Users List <[EMAIL PROTECTED]> > >> Subject: DBCP speed of lookup -vs- stored reference to Datasource? > >> >

Re[2]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Jacob Kjome
ROTECTED]> >> To: Tomcat Users List <[EMAIL PROTECTED]> >> Subject: DBCP speed of lookup -vs- stored reference to Datasource? >> >> >> I'm wondering what kind of performance penalty there is, if any, when doing >> a full lookup of the Datasource object

Re: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Craig R. McClanahan
On Mon, 28 Oct 2002, Jacob Kjome wrote: > Date: Mon, 28 Oct 2002 08:08:09 -0600 > From: Jacob Kjome <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: DBCP speed of lookup -vs- stored r

RE: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Ralph Einfeldt
http://www.javaworld.com/javaworld/javaqa/2002-04/01-qa-0412-doublelock.html > -Original Message- > From: Jacob Kjome [mailto:hoju@;visi.com] > Sent: Monday, October 28, 2002 3:08 PM > To: Tomcat Users List > Subject: DBCP speed of lookup -vs- stored reference to Datasource? > >

DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-28 Thread Jacob Kjome
I'm wondering what kind of performance penalty there is, if any, when doing a full lookup of the Datasource object each and every time through JNDI calls? Basically, does it make sense to do one lookup and store a local copy for future use? The one problem I see with doing that is that if one