[Koha-devel] Possible IRC tutorial nginx and FastCGI

Chris Cormack chris at bigballofwax.co.nz
Tue May 4 11:52:07 CEST 2010


On 4 May 2010 19:58, Chris Cormack <chris at bigballofwax.co.nz> wrote:
> On 4 May 2010 19:47, Colin Campbell <colin.campbell at ptfs-europe.com> wrote:
>> I heard that PSGI on nginx is very fast. I was impressed by a
>> presentation on PSGI/Plack by its author, but haven't really played with
>> it since. Has anyone any experience of it?
>> Colin
>>
Really unscientific test, but fairly promising

running
 plackup -MPlack::App::CGIBin -e 'Plack::App::CGIBin->new(root =>
"/home/chris/git/koha.git/opac")->to_app'

With nginx in front, to proxy requests and handle serving the js and css.

Hitting it with curl-loader from a machine across town



On 4 May 2010 19:58, Chris Cormack <chris at bigballofwax.co.nz> wrote:
> On 4 May 2010 19:47, Colin Campbell <colin.campbell at ptfs-europe.com> wrote:
>> I heard that PSGI on nginx is very fast. I was impressed by a
>> presentation on PSGI/Plack by its author, but haven't really played with
>> it since. Has anyone any experience of it?
>> Colin
>>
Really unscientific test, but fairly promising

running
 plackup -MPlack::App::CGIBin -e 'Plack::App::CGIBin->new(root =>
"/home/chris/git/koha.git/opac")->to_app'

With nginx in front, to proxy requests and handle serving the js and css.

Hitting it with curl-loader from a machine across town

Test total duration was 55 seconds and CAPS average 37:
H/F   Req:1100,1xx:0,2xx:1100,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:8502ms,D-2xx:8502ms,Ti:136200B/s,To:3194B/s
H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s

Which seems well worth investigating more.

Chris



More information about the Koha-devel mailing list