Hi Paul,

On Wed, Jun 25, 2008 at 8:13 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote:

> 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.


Of course yes.


>
>
> 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.


Cool, I think this would be interesting. So we need a mechanism to find
whether the AXIOM tree is modified or not when we send the message out.


> 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.


I think this is possible, but I don't think we need an OMDataSource to do
this, we can get the stream from the parser directly right? in which case we
just need to override the MessageFormatter ....


> 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.


I am sorry I don't get this point...

Thanks,
Ruwan


>
>
> 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]
>
>


-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/

Reply via email to