[Koha-bugs] [Bug 17189] Add the ability to define several memcached namespaces

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 7 08:54:23 CEST 2016


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

--- Comment #5 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jacek Ablewicz from comment #4)

> Hmm, IMO most serious limitation of this approach/implementation is that
> having separate cache object instances for 1) sysprefs 2) config and 3)
> everything else will result in opening 3 different connections to (the very
> same) memcached daemon per script/plack worker. Under plack, the 2nd
> connection will be used just once.

OTOH - those 3 connections to memcached server do not seem to have any
significant practical consequences, I did some tests and it's only 150-200
microseconds per connection. In fact it's probably a bit faster then unpatched
version (there are 2 separate connections being made in unpatched master) if
the Cache::Memcache loading time is taken into account.

Memcached is event driven (so the added memory footprint on it's side is
negligible, forking not involved) and it is taking the increased burden
surprisingly (extremely!) well.

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


More information about the Koha-bugs mailing list