Re: Call to Benchmark PSGI!

Dylan Hardison <[email protected]> Wed, 20 Jan 2016 00:17:10 -0500
Newsgroups gmane.comp.bug-tracking.bugzilla.devel
Message-ID <CANx7wf=33Qu+kRKuSGZwdn6OFJuHDCnd1Z39KXT=EVtia-QyMA@mail.gmail.com>
I knew these numbers were too good to be true -- it turns out the
stock mod_perl config has such a low Apache::SizeLimit that the
process gets killed after a few requests. I've re-opened
https://bugzilla.mozilla.org/show_bug.cgi?id=731589 and the new
default will be a more more reasonable 250_000.

I'm still keen on benchmarks, and I'll post my revised ones shortly. I
recommend editing mod_perl.pl and setting the size limit to 250_000 or
750_000,
or wait for Bug 731589 to land.

On Tue, Jan 19, 2016 at 12:33 PM, Dylan Hardison <[email protected]> wrote:
> I think PSGI is *ridiculously* faster than mod_perl
>
>
> Given a simple benchmark of calling apache bench against show_bug?id=1
> (with a simple testing db, mind you) I get 12 requests a second under PSGI
> (using HTTP::Server::PSGI) and 4 requests/second with mod_perl
>
> So mod_perl is about twice as fast CGI, but PSGI is three times faster
> than mod_perl.
>
> https://gist.github.com/dylanwh/d5c5498188c3866b7a03d
>
> So a call to people out there that have a working mod_perl setup ---
> please benchmark
> master on both mod_perl and PSGI and post the results here!
>
> Regards,
>
> Dylan.
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>