[Koha-bugs] [Bug 11051] Performance of opac-search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 16 15:54:58 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11051

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #28 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #27)
> There are 2 reasons.
> 1/ I don't see the load difference following the test plan.
> 2/ There are some calls to
>   memoize_memcached('subroutine_name', memcached => C4::Context->memcached);
> in the code.
> If the call is wrong, we should fix it everywhere. If I am wrong, I am not
> able to pass qa on it :)

I installed memcached (and ..) and ran the memoize_memcached call for
GetMarcStructure and called it in a for loop so many times.
My findings are:

1) As Jonathan pointed out, the call seems to be wrong. If I pass memcached =>1
as parameter, I also have: Invalid memcached argument (expected a hash).
If I pass memcached => {}, it seems to be okay.
I do not understand why we still find this error. Are other people using
another version for memcached, Cache::Memcached or Memoize::Memcached?

2) When I increase the number of loops (calls to GetMarcStructure), I also see
that the memcache variant is much slower. Since I am not yet that familiar with
memcached, I am not sure if this is just a matter of configuration.

I would appreciate some more feedback from the author or other users of
memcached. I will send a mail to the dev list. Changing status to reflect the
need for clarification.

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


More information about the Koha-bugs mailing list