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.
In: Geek, Koha · Tagged with: Geek, Koha, 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]: […]