The recent performance testing we did on the WSO2 ESB applies exactly
to Synapse (http://wso2.org/library/3740), and looking at those
figures, it would be nice to improve the routing performance when
there is no CBR or XSLT.

The one thing that might do this would be to bypass Axiom/Stax
processing altogether in this scenario. The way that I think we could
do this is to ask Axiom directly for the bytestream and have Axiom
decide if it is has been modified. If it has, then the normal
behaviour happens, but if the bytestream hasn't been touched at the
Axiom level, then we can pull the bytestream directly. I think this is
similar to the way other people have coded OMBacked classes such as
the OMDataSource. I'm afraid I've never fully understood the Axiom
model for doing this, so we would need a bit of Axiom expertise, but I
believe its fully possible. In fact, there is similar to Senaka's
proposal to directly back an OM element from a Map object and avoid
processing if the Map is unmodified.

WDYT?

Paul

-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to