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

2002-10-29 Thread Ralph Einfeldt
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 http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

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

2002-10-29 Thread Jacob Kjome
) -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 -vs- stored reference to Datasource? I was just making an attempt to avoid the Double-Checked Locking

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

2002-10-29 Thread Jacob Kjome
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 -vs- stored reference to Datasource? I was just making an attempt

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

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

2002-10-28 Thread Ralph Einfeldt
://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? if (DS_INITIALIZED.equals(Boolean.FALSE

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 reference to Datasource? I'm wondering what

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

2002-10-28 Thread Jacob Kjome
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 each and every time through JNDI calls? Basically, does it make sense to do one lookup and store a local

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

2002-10-28 Thread Craig R. McClanahan
] 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 each and every time through JNDI calls? Basically, does it make sense

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

2002-10-28 Thread Jacob Kjome
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: CRM On Mon, 28 Oct 2002, Jacob Kjome wrote: Date: Mon, 28 Oct 2002 08:08:09