I compared DAO methods:
JDO - fastest
JDBC - a bit slower
CMP/EJB - slowest by far
I used a tool called CodeFutures Firestorm.
Is this consistent with anyone elses experience?
-
DAO performance experiment (3 messages)
- Posted by: null
- Posted on: December 11 2003 09:22 EST
Threaded Messages (3)
- DAO performance experiment by Paul Strack on December 11 2003 13:06 EST
- What about using Stored Procedures & DBLinks by Balakrishna Das on December 14 2003 23:21 EST
- DAO performance experiment by Kirk Pepperdine on December 17 2003 09:07 EST
-
DAO performance experiment[ Go to top ]
- Posted by: Paul Strack
- Posted on: December 11 2003 13:06 EST
- in response to null
I usually find JDBC fastest, if you tweak the SQL. But it is the hardest to maintain.
The skinny on CMP/EJB is that its throughput is slower, but it is supposed to scale better.
Also, try adding Hiberate to your list of things to check. -
What about using Stored Procedures & DBLinks[ Go to top ]
- Posted by: Balakrishna Das
- Posted on: December 14 2003 23:21 EST
- in response to null
Do all of you consider using stored procedures to offload the data processing overhead to the database or using dbLinks to collect information from different databases instead of using various datasources ?
Can any one tell the the pros and cons of using dblinks for accessing data from different databases over using different datasources ?
Of cource, I am talking about using JDBC in both the cases. -
DAO performance experiment[ Go to top ]
- Posted by: Kirk Pepperdine
- Posted on: December 17 2003 09:07 EST
- in response to null
The JDO uses the JDBC so.. the test results are interesting to say the least.