[Koha-devel] Possible IRC tutorial nginx and FastCGI

Fouts, Clay cfouts at ptfs.com
Mon May 3 23:30:11 CEST 2010


Thanks for the further info. Sorry for the imprecision, but here I meant
"scale" in the sense of individual Koha installations per web server rather
than hits per installation. My concern is the feasibility of implementing a
scheme like this on a web server which is configured to service requests for
over a hundred individual Koha instances. Doesn't each individual script
require it's own FastCGI daemon process per instance of Koha? Of course it
would be possible to implement this on a subset of those sites, but then
each step of de-homogenizing adds another cost at a different level.

Clay


On Mon, May 3, 2010 at 1:15 PM, Chris Cormack <chris at bigballofwax.co.nz>wrote:

> Hi all
> Quick reply as im on the bus.
> Clay i stress tested with 100 concurrent requests, stepping up in 10s
> after, apache2 + cgi started swapping hard load got up to 124 before i
> killed the test. in 252 seconds got 11 200 responses.
> with nginx which has virtually zero memory footprint + the FCGI::Async
> based wrapper the same test topped at 1.2 load.
> I can show you the stats on irc if you like.
> So far i am handling all gets with it posts go to apache. I think the
> login page is one of the few posts so handing that to apache2-ssl is
> no bad thing
>
> We use nginx at work for big dynamic sites (millions of page
> impressions per day) Im happy to share what ive learnt.
>
> Chris
>
> On 04/05/2010, Fouts, Clay <cfouts at ptfs.com> wrote:
> > I'm very interested interested in learning more about this, also. How
> well
> > does it scale? My experience with FastCGI is that it can lend performance
> > improvements, but it's often at considerable cost in terms of memory.
> Does
> > the FCGI handle all the scripts or only key performance-sensitive ones,
> like
> > opac-search.pl?
> >
> > Clay
> >
> >
> > On Mon, May 3, 2010 at 11:53 AM, Brendan Gallagher <
> > info at bywatersolutions.com> wrote:
> >
> >> Hi All -
> >>
> >> Friday evening here (west coast USA), Saturday evening in New Zealand.
> >>  Chris Cormack was showing quite a few of the developers that hang out
> in
> >> the IRC #koha channel - his testing database of koha - fed through nginx
> >> and
> >> FastCGI.
> >>
> >> I was absolutely amazed at the speed that pages from the opac were being
> >> delivered and watching some of the tests with speed comparisons between
> >> apache and nginx. I want to learn more. So, I would like to propose or
> >> maybe
> >> ask chris - if he would schedule a time that he could demo or even give
> a
> >> tutorial on nginx and FastCGI on the IRC channel (which is a good medium
> >> because those who can't make it will be able to read the logs).  I am
> >> hoping
> >> that others get encouraged and want to investigate the possibilities.
> >>
> >> So, If you're interested in this please let me/the list know and I'll
> bug
> >> chris to set up a time to give a tutorial.
> >>
> >> Cheers,
> >> Brendan
> >>
> >> Of course I'd like to encourage as many people to attend (it's
> surprising
> >> how much I've learned through osmosis)
> >>
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> Brendan A. Gallagher
> >> ByWater Solutions
> >> CEO, Director of Innovation
> >> Support and Consulting for Open Source Software
> >> Installation, Data Migration, Training, Customization, Hosting
> >> and Complete Support Packages
> >> Headquarters: Santa Barbara, CA - Office: West Haven, CT
> >> Phone # (888) 900-8944
> >> http://bywatersolutions.com
> >> info at bywatersolutions.com
> >>
> >>
> >> See us at ALA : BOOTH # 817
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Koha-devel mailing list
> >> Koha-devel at lists.koha.org
> >> http://lists.koha.org/mailman/listinfo/koha-devel
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20100503/fa38f60d/attachment-0003.htm>


More information about the Koha-devel mailing list