[Koha-bugs] [Bug 18342] Set memcached as 'enabled' by default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 11 19:59:21 CEST 2017


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

Jacek Ablewicz <abl at biblos.pk.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abl at biblos.pk.edu.pl

--- Comment #3 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #2)
> (In reply to Marcel de Rooy from comment #1)
> > And remove the other cache types: Cache::Memory etc.

IMO at least fastmmap definitely should be removed, it's long overdue.

> 
> Not Cache::Memory, it should be kept as a fallback way in case memcached is
> not reachable

Cache::Memory does't  work all that well as a fallback mechanism.. Under normal
circumstances it's just slowing things out (values are stored there, but never
retrieved back). And under more unusual circumstances (e.g. if we want to flush
L1 cache in daemon scripts periodically) it's pretty much the same - while
Cache::Memory supports expiration, currently we don't use it (properly), and
the final result is once again 100% waste of CPU cycles, without any gains at
all.

I wonder if a better fallback for memcached L2 cache could rather be: no L2
cache, or maybe some kind of dummy L2 cache. It does mater only in case of
daemon scripts - if it's not a daemon script etc., Cache::Memory will always be
a waste of time anyway.

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


More information about the Koha-bugs mailing list