On Monday, 24. March 2003 22:25, Chris Leishman wrote:

> The changes are reasonably deep - but it's mostly contained within the
> AxKit.pm module and everything else  is pretty backwards compatible
> (with the exception of the Cache API - of which I can't find any
> derived classes anyway).

I know of one... though not yet widely available.

> > Did you profile several scenarios? How is performance with this system?
> > Doesn't it add too much overhead?
>
> I haven't really profiled anything - I just tested with various
> pipelines.  However I can speculate.  There will be more checking of
> cache files (once per style rather than just once), and a little more
> in the construction of provider classes.  But I think there will be
> some gains made by not trying to do everything via pnotes, and of
> course there will be significant gains due to increased cache
> effectiveness.  For example if there is an XSLT transformation followed
> by XSP, the XSLT can now be cached even though the XSP result is
> uncacheable.

Can you do real timings? Requests/second using 'ab' or something?
Also, XSP-after-XSLT is uncommon, and commonly a design error, so this is not 
a big gain (except for my round-tripping-XML solution which does just that).
I'd love to see real numbers.

> > Does "return 404;" from XSP still work? (which should go on
> > processing, but
> > send the final result with $r->status(404))
>
> I haven't really checked that - but I see no reason why it wouldn't.
> The status method wasn't proxied by AxKit::Apache, so it should work as
> normal.  It seems kind of ugly doing that though, since you can't be
> sure what else is down the pipeline.

AxKit.pm had explicit support for that, saving any nonzero return code to set 
it later as $r->status. The place is quite easy to spot.

> Please, have a play with it and see if you can find any problems.

Sure. Whenever I get my shiny new 48h day, I will do ;-)

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


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

Reply via email to