Re: Apache Module (Xalan?)

Subject: Re: Apache Module (Xalan?)
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Thu, 1 Jun 2000 09:03:20 +0100 (BST)
On Wed, 31 May 2000, Jon Smirl wrote:

> Has anyone built a C/++  based Apache module for doing XSLT transforms? I'm
> looking at building one around Xalan since I can't get enough speed out of
> the Java implementations.
> 
> Right now I can do a page transform in 85ms with Java, but sub 25ms looks
> possible with C. The problem is more with latency than CPU consumption. XSL
> Processors don't start transforming until everything is available from the
> prior stages. This means the output comes in the last 5ms of the 85ms delay.

You could build one quite trivially using mod_perl and Sablotron, meaning
only a tiny bit of your code would be in Perl. Let me know if you'd like
some help. Should be about 20 lines of code.

FWIW AxKit versions prior to 0.90 (which is a bit of a re-write and not
yet as fast) could deliver 80rps on my 500Mhz PC, which implies a pretty
low latency, although its doing a fair bit more than a simple XSL
transformer.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread