Welcome! Log In Create A New Profile

Advanced

Re: Using XSLT and FastCGI together

Michael Nachbaur
April 15, 2009 02:23PM
On an Ubuntu VMWare image on my MacBook Pro, nginx+xslt was able to
perform at about 1200 r/s according to ab, with a concurrency of 500
IIRC. I couldn't believe how fast it is. In the production
environment that I'm developing for now, we're doing SSL so the r/s
drops significantly due to that. But still, libxslt and libxml2 are
really fast, since nginx pre-loads the stylesheets at startup.

On 15-Apr-09, at 10:30 AM, Michael Shadle wrote:

> this would be a neat feature and i could possibly leverage it too,
> depending on how fast nginx's xsl transforms work. i assume pretty
> fast. :)
>
> On Wed, Apr 15, 2009 at 10:10 AM, Michael Nachbaur
> <mike@nachbaur.com> wrote:
>> I'm developing a web application that makes heavy use of nginx's XSLT
>> support (Thank you for that!) About half of the content is in
>> static XML
>> files that describes the application's state. But when people
>> click on and
>> interact with the forms and links on the page, those make calls to
>> URLs
>> which get dispatched to fastcgi daemons using fastcgi_pass.
>>
>> What I'd like to do is output XML from my FastCGI daemon and feed
>> that
>> through nginx's XSLT stylesheets in order to render the
>> dynamically-generated page. But I'm finding that even though my
>> fastcgi_pass directive lives in the same location block where my
>> xslt is
>> defined, nginx is sending the raw XML to the browser.
>>
>> Is there a way to tell nginx to process the output of my FastCGI
>> script with
>> XSLT?
>>
>> Thanks.
>>
>>
>
Subject Author Posted

Using XSLT and FastCGI together

Michael Nachbaur April 15, 2009 01:10PM

Re: Using XSLT and FastCGI together

mike April 15, 2009 01:30PM

Re: Using XSLT and FastCGI together

Michael Nachbaur April 15, 2009 02:23PM

Re: Using XSLT and FastCGI together

Igor Sysoev April 15, 2009 02:18PM

Re: Using XSLT and FastCGI together

Igor Sysoev April 15, 2009 02:17PM

Re: Using XSLT and FastCGI together

Michael Nachbaur April 15, 2009 03:26PM

Re: Using XSLT and FastCGI together

Igor Sysoev April 17, 2009 02:22PM

Re: Using XSLT and FastCGI together

Michael Nachbaur April 19, 2009 10:54AM

Re: Using XSLT and FastCGI together

Igor Sysoev May 12, 2009 02:04AM

Re: Using XSLT and FastCGI together

Michael Nachbaur May 12, 2009 03:36PM

Re: Using XSLT and FastCGI together

Maxim Dounin April 15, 2009 02:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready