| Author |
CMP performance
|
Justin Chu
Ranch Hand
Joined: Apr 19, 2002
Posts: 209
|
|
Just created a simple CMP EJB with 10 records in the table. The table contains 14 columns. I'm using SilverStream 3.7.2 on Solaris with ample supply of memory. EJB 1.1. I've created a simple page to findAll() (return all rows). The load time is 1160ms (first load, added overhead of initializing Home bean) 827ms 807ms 822ms 804ms If I click on reload multiple times quickly, I get load time of up to 10 seconds. Is this the normal performance you can get from EJB in general? Or just CMP? Or is it just that SilverStream's slow? Chu
|
 |
Justin Chu
Ranch Hand
Joined: Apr 19, 2002
Posts: 209
|
|
I've fine tuned the EJB to only have coarse grained accessor methods that returns a value object instead of individuals variables. Now, my page has exactly 10 rmi calls.. The speed has reduced from 800ms to 500ms. Chu
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14572
|
|
http://www.cs.rice.edu/CS/Systems/DynaServer/perf_scalability_ejb.pdf Here's something that most be useful: http://www.j2life.com/bitterjava/java_performance.html
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: CMP performance
|
|
|