Tag Archives: mod_perl

Koha benchmarking

Plain old CGI

Authentication successful
--------------
Koha circulation benchmarking utility
--------------
Benchmarking with 200 occurences of each operation and 10 concurrent sessions
Load testing staff client dashboard page 127347ms 1.57051206545894 pages/sec
Load testing catalog detail page 131230ms 1.52404175874419 biblios/sec
Load testing patron detail page 128608ms 1.55511321224185 borrowers/sec
Load testing circulation transaction (checkouts) 132053ms 1.51454340302757 checkouts/sec
Load testing circulation transaction (checkins) 132129ms 1.51367224454889 checkins/sec
Load testing all transactions at once 374410ms 2.67086883363158 operations/sec

mod_perl

Authentication successful
--------------
Koha circulation benchmarking utility
--------------
Benchmarking with 200 occurences of each operation and 10 concurrent sessions
Load testing staff client dashboard page 10578ms 18.9071658158442 pages/sec
Load testing catalog detail page 1450ms 137.931034482759 biblios/sec
Load testing patron detail page 10318ms 19.3836014731537 borrowers/sec
Load testing circulation transaction (checkouts) 16046ms 12.4641655241182 checkouts/sec
Load testing circulation transaction (checkins) 11541ms 17.3295208387488 checkins/sec
Load testing all transactions at once 38375ms 26.0586319218241 operations/sec

Circulation at least seems fine under mod_perl, I will do more testing but with a 1000% speed increase, this is definitely where we want to spend some quality testing time.

Too much weights, not enough speed work

Following on from testing Koha with memcached, I decided to test the opac with mod_perl, mod_expires and mod_deflate.
So with no mod_perl and no caching
time curl http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=a
real 0m2.993s

And with mod_perl
time curl http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=a
real 0m0.657s

And now opac main is down too

real 0m0.010s

This of course isn’t really testing mod_expires or mod_deflate, but certainly telling the browser to cache the images, css and javascript helps out a lot there too.

(Oh and if you haven’t seen the movie Once were Warriors, the title won’t make sense, i’m sure if you search on youtube you can find the clip)