Hi,

Has there been any thought of implementing the so-called "last
resource commit optimization" in TransactionImpl.internalPrepare?
The idea is, on the last resource in the list, to avoid calling
prepare() and immediately call commit(onePhase=true). Deciding when
and which resource to put last in the list depends on a number of
factors.

Arjuna for instance implements this optimization, but only for
resources that implement a custom marker interface.

Thanks,
Florent

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to