geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume>
Subject txmanager last resource commit optimization
Date Thu, 12 Jan 2012 15:52:38 GMT

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

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


Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)   +33 1 40 33 79 87

View raw message