Bugzilla can now run as a PSGI application for a huge performance boost
"Frédéric Buclin" <[email protected]> Sun, 27 Sep 2015 16:18:07 +0200
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, In case you need some performance boost for your Bugzilla installation, you will be happy to know that I wrote a patch to make it work as a PSGI application. The patch is currently waiting for review, but you can already apply it to your 5.0.1 or 5.1 installation. The performance win is huge when compared to Apache 2.4 running in mod_cgi mode, see https://bugzilla.mozilla.org/show_bug.cgi?id=1201113#c3 When running our QA test scripts, Selenium scripts run 4 times faster with nginx + gazelle than with Apache in mod_cgi mode, and WebServices scripts run 19 times faster! Recordman is webservice_bug_fields.t which runs 88 times faster (4.2 seconds instead of 6.25 minutes)!! Note that the XML-RPC API doesn't play nicely with Plack yet, and so if you still use this deprecated API, you shouldn't apply my patch for now (or tell me how to fix xmlrpc.cgi to make Plack happy, maybe using XMLRPC::Transport::HTTP::Plack?). The JSON-RPC and REST API are working fine. LpSolit - To view or change your list settings, click here: <http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>