Re: ejb performance

2000-12-16 Thread Robert Krueger
At 14:28 16.12.00 , you wrote: Hi all! I made some tests to find out how transactions affect performance. I called a sessionless' ejb empty function with different transaction attributes. It turned out that call time mean was about 250 ms and it almost not changed depending on

RE: ejb performance

2000-12-16 Thread Savotchkin Egor
PROTECTED]]On Behalf Of Robert Krueger Sent: Saturday, December 16, 2000 2:57 PM To: Orion-Interest Subject: Re: ejb performance At 14:28 16.12.00 , you wrote: Hi all! I made some tests to find out how transactions affect performance. I called a sessionless' ejb empty function with

Re: ejb performance

2000-12-16 Thread Marcus Lankenau
Hi Savotchkin! Could you please describe, what you did to activate pooling? I tried this for my application, but without success... (could you maybe post you datasource xml?) thx in advance Marcus Lankenau Yeah!!! I forgot that in this function I got not pooled db connection. So, after I

RE: ejb performance

2000-12-16 Thread Savotchkin Egor
ssage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marcus Lankenau Sent: Saturday, December 16, 2000 6:30 PM To: Orion-Interest Subject: Re: ejb performance Hi Savotchkin! Could you please describe, what you did to activate pooling? I tried this for my application, but with

RE: EJB Performance Question.

2000-11-15 Thread Robert Krueger
to to this. robert -tim -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 1:36 PM To: Orion-Interest Subject: RE: EJB Performance Question. At 12:06 14.11.00 , you wrote: At 10:03 14.11.00 , you wrote: Every single one of those

RE: EJB Performance Question.

2000-11-15 Thread Tim Drury
rt your application to another container, you aren't guaranteed this optimization. The above bulk accessor/View pattern will always work. -tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 7:04 PM To: Orion-Interest Subject: Re: EJB Per

RE: EJB Performance Question.

2000-11-15 Thread Gerald Gutierrez
At 10:11 AM 11/15/2000 +0100, you wrote: At 14:48 14.11.00 , you wrote: Thanks Robert. I think I'll try running some benchmarks this week and post the results. I wonder.. is there a way for and EJB-EJB to be _forced_ to go through RMI? i.e. can I turn this optimization off? I don't think

RE: EJB Performance Question.

2000-11-14 Thread Tim Drury
Every single one of those calls to dir.getXXX() has to go across the network via RMI. This is slow. You are better off using a bulk accessor pattern. For example, createa new class called DirView which contains all the attributes of your Dir EJB. Then make a single call to the Dir EJB to

Re: EJB Performance Question.

2000-11-14 Thread Klaus Thiele
Hi ±èöȸ, public Vector EJBToRow(Dir dir) throws Exception { [...] row.add(dir.getId()); row.add(new Long(dir.getPId())); row.add(dir.getName()); row.add(new Long(dir.getSerial())); row.add(new Long(dir.getChildCount())); row.add(new Long(dir.getDepth())); [...]

RE: EJB Performance Question.

2000-11-14 Thread Robert Krueger
At 10:03 14.11.00 , you wrote: Every single one of those calls to dir.getXXX() has to go across the network via RMI. This is slow. You are better off using a well, with orion this is intra-vm so its not that bad ... bulk accessor pattern. For example, create a new class called .. although a

RE: EJB Performance Question.

2000-11-14 Thread Tim Drury
At 10:03 14.11.00 , you wrote: Every single one of those calls to dir.getXXX() has to go across the network via RMI. This is slow. You are better off using a well, with orion this is intra-vm so its not that bad ... Is there proof that Orion does this? I'm not trying to be a jerk, but

RE: EJB Performance Question.

2000-11-14 Thread Robert Krueger
At 12:06 14.11.00 , you wrote: At 10:03 14.11.00 , you wrote: Every single one of those calls to dir.getXXX() has to go across the network via RMI. This is slow. You are better off using a well, with orion this is intra-vm so its not that bad ... Is there proof that Orion does this?

RE: EJB Performance Question.

2000-11-14 Thread Mike Clark
If you're referring to the enable-call-by-reference tag, then indeed it does do something (at lease in version 5.1). Setting this tag to true will effectively pass EJB method arguments and returned objects by reference when called within the same JVM, rather than by value in accordance with the

RE: EJB Performance Question.

2000-11-14 Thread Tim Drury
: Tuesday, November 14, 2000 1:36 PM To: Orion-Interest Subject: RE: EJB Performance Question. At 12:06 14.11.00 , you wrote: At 10:03 14.11.00 , you wrote: Every single one of those calls to dir.getXXX() has to go across the network via RMI. This is slow. You are better off using

Re: EJB Performance Question.

2000-11-14 Thread
Thank You for your kind reply. Can I get some pseudo-code an example? Thank you. - Original Message - From: Tim Drury To: Orion-Interest Sent: Wednesday, November 15, 2000 12:03 AM Subject: RE: EJB Performance Question. Every single one of those