----- Original Message -----
From: "Bill Burke" <[EMAIL PROTECTED]>

> The point I'm trying to make is that with CMPs current state, we should not
> be encouraging people to have tuned-updates turned off because they will
> most certainly run into deadlock problems if they have more than one
> concurrent user.

I don't see how this can deadlock? There are concurrency issues with any update
to the database, tuned or not. How is a deadlock possible?

> Yeah.  That's why I'm hoping Dan implements his suggested extension to
> finders so that they select entire rows rather than just the primary keys,
> thus avoiding multiple unnecessary reads.

This is, by far, the most measurable impact on CMP performance. In my tests, my
BMP implementation was a little faster than the CMP version. This should never
be the case as SMP has the opportunity to reduce bulk access within the same
transaction using finders to (1) versus (n+1) for BMP. This should be the focus
for sure. Worry about the 10% performance gain using cached PreparedStatements
later, IMHO.

jim


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to