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

--- Comment #4 from Jacek Ablewicz <a...@biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #2)

> We need to define several namespaces for our cache system.
> For instance sysprefs, koha conf (koha-conf.xml) and unit tests
> should be defined in a separate namespace.

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.

IMO separate object instance (& connection) for sysprefs would have rather
limited usability too

> This will permit to
> - and flush the sysprefs cache without flushing all other values

because it will allow to flush only L1 syspref cache selectively, while no such
thing would be possible for L2/upstream cache. Unfortunately, with memcached,
it's either a flush of the given key or the whole cache flush (all keys in all
namespaces & subnamespaces). In memcached, keys from different namespaces are
not distinguishable in any way, and deleting keys by wildcard is not possible.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to