On Friday 01 February 2002 14:56, [EMAIL PROTECTED] wrote:
> I am totally new to axkit.

Welcome !

> the xml files will come dynamically out from some middleware

One pro for AxKit: you can use a Provider module to interact with that 
middleware and feed the XML straight to AxKit.

> the performance bottleneck of this is the XSLT transformation.

Are you certain of that? In my experience XSLT transformation using libxslt 
in AxKit has been incredibly fast, even over large (~80mo) documents with 
complex matching and recursion.

> one idea is to write an apache module which handles the transformation in
> C. this is obviously very fast, but also very ugly to write and to
> maintain.

Well, making a simple one would be easy, but as soon as you'll want to add in 
features it'll become harder. AxKit can already do a lot, notably caching 
which is something that you might want.

> it should also be possible to write XSTL extensions.

So long as you use libxslt (which AxKit does) it is possible. There already 
are the exlst extensions to serve as an example.

> now my question.
> can this be done also with axkit??

Of course, that's what AxKit's for ;-)

> how fast do you think would be an axkit solution compared to the apache
> xslt module (using libxslt from xmlsoft.org)?
> axkit seems to be great and I really would like to know if this is an
> option here. but I am sure that some will argue due to the fact that some
> of axkit is written in perl, it will be very slow.

It will be slower, but not necessarily by a large margin. Note that starting 
from version 1.5 (the current) AxKit is a "real" Apache handler. That is, 
parts of it are in C in order to improve performance. In fact, if all you do 
is "get request, grab xml, transform with xslt, send" then most of what will 
happen will happen in C: the Apache handler (axkit), the internal DOM 
(libxml2), and the transformation (libxslt)  :-)

One good way to look at this is that AxKit is in fact in C, with some 
extensions and non-hot parts being in Perl.

-- 
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
Heisenberg may have been here.


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

Reply via email to