[Koha-bugs] [Bug 16088] Excessive CGI->new() calls hurting cache performace under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 11 17:32:29 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16088

--- Comment #31 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #30)
> (In reply to Jacek Ablewicz from comment #29)
> > BTW, is 3.22 also affected by this?
> 
> Yes but to a lesser extent, bug 16044 has not been backported (yet?): in
> 3.22, CGI->new is overridden to call clear_syspref_L1_cache.

AFAIRC feching a syspref from memcached takes 80-120 usec on average, in 3.22
there are ~1500 ->preference() calls per catalog search (for 20 results per
page, ~3000 for 50 results per page). There is still some (hard to say how
much) syspref caching going on.. Worst case scenario: 1500 * 0.0001 = 150 msec
penalty.
Unless someone is running 3.22 under plack without memcached (worst case: 1500
* 0.0014 = 2.1 seconds) - probably not such a big deal.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list