[Koha-bugs] [Bug 16044] Define a L1 cache for all objects set in cache
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 12:44:56 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16044
--- Comment #31 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #24)
> (In reply to Jacek Ablewicz from comment #17)
> > 1) CGI + memcache - no measurable differences between patched/unpatched
>
> It certainly comes from bug 16088, don't you think?
Very unlikely IMO, Bug 16088 is (mostly) plack-specific.
I got no significant speed differences in 1) test above, because for L2 =
memcached, two-level caching usually doesn't happen at all: the only place in
the code when L1 gets ever populated is set_in_cache() subroutine. With L2 =
memcached, set_in_cache() calls are (statistically) very rare - pretty much
everything is fetched from L2, and L1 is left mostly unpopulated / hardly even
populated, hence no performace differences. This issue got fixed in 1st
followup from Jesse (now: 1st patch in separate Bug 16140). Relevant part of
that patch (see comment #19), when applied on top of Bug 16044, enables
two-level caching for L2 = memcached setups. If I do that, performance
differences for CGI + memcached are immediately apparent ;)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list