A geeky way to spend your lunch break

So I spent 20 mins whacking some caching in around the _build_langauges_arrayref subroutine in C4::Languages in Koha.
Before and After. Ill take that as a win. All that needs to be done now is add code to the script that handles updating the language syspref, so that it clears the cache when its changed.
Related Posts:Koha [...]

Posted on July 18, 2008 at 2:03 pm by Chris · Permalink · Leave a comment
In: Geek, Koha · Tagged with: , ,

Testing Koha with memcached

Ive been doing some work rewriting some of the scripts in Koha to use memcached where possible.
Heres some loadtesting on opac-main.pl using straight CGI and no caching.

Maximum connect burst length: 1
Total: connections 20 requests 20 replies 20 test-duration 39.896 s
Connection rate: 0.5 conn/s (1994.8 ms/conn, <=20 concurrent connections)
Connection time [ms]: min 35438.7 avg 37343.4 max [...]

Posted on June 22, 2008 at 11:56 pm by Chris · Permalink · Leave a comment
In: Geek, Koha · Tagged with: ,