[Koha-bugs] [Bug 16715] Koha::Cache - Use Sereal for serialization

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 13 13:49:32 CEST 2016


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

--- Comment #7 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
Sereal encoder is much better (2-3x) then freeze() - both speed- and sizewise
(especially with "snappy" compression enabled), for all data structure types,
big and small.

Sereal decoder is also much faster (up to 2x) then thaw() for small and
medium-sized data structures. For a very big structures, it's still faster then
thaw(), but speed difference is less pronounced (e.g. for a MARC framework:
sereal decode takes ~7 msec, and thaw - 8.5 msec). But it's hardly
deserializers fault, most of that time is wasted in perl internals on hash keys
and SVs creation. Note that destroing / garbage collection of all those
hashes-of-hashes also takes significant time (3-4 msec for a MARC framework).

The only drawback I see is the lack of packaged version for Wheezy..

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


More information about the Koha-bugs mailing list