[Koha-bugs] [Bug 8089] Use Koha::Cache everywhere
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 7 17:34:25 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8089
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Passed QA |Pushed to Master
--- Comment #16 from Paul Poulain <paul.poulain at biblibre.com> ---
Performances tests:
I tried to run the staff_benchmark on this patch, (with memcached) and so no
noticeable performance improvement
Bug 8089
With patch and with cache
Benchmarking with 20 occurences of each operation and 30 concurrent sessions
Step 1: staff client main page 5955ms 3.358 pages/sec
Step 2: catalog detail page 13270ms 1.507 biblios/sec
Step 3: catalogue search 23628ms 0.846 biblios/sec
Step 4: patron detail page 11629ms 1.719 borrowers/sec
Step 5: patron search page 20355ms 1.965 borrowers/sec
Step 6a circulation (checkouts) 15775ms 1.267 checkouts/sec
Step 6b circulation (checkins) 15134ms 1.321 checkins/sec
all transactions at once 112801ms 1.595 operations/sec
Without patch and with cache
Step 1: staff client main page 5980ms 3.344 pages/sec
Step 2: catalog detail page 13828ms 1.446 biblios/sec
Step 3: catalogue search 21114ms 0.947 biblios/sec
Step 4: patron detail page 11378ms 1.757 borrowers/sec
Step 5: patron search page 20316ms 1.968 borrowers/sec
Step 6a circulation (checkouts) 16162ms 1.237 checkouts/sec
Step 6b circulation (checkins) 16916ms 1.182 checkins/sec
all transactions at once 109549ms 1.643 operations/sec
With patch and without caching
Step 1: staff client main page 5914ms 3.381 pages/sec
Step 2: catalog detail page 13543ms 1.476 biblios/sec
Step 3: catalogue search 20992ms 0.952 biblios/sec
Step 4: patron detail page 11993ms 1.667 borrowers/sec
Step 5: patron search page 20293ms 1.971 borrowers/sec
Step 6a circulation (checkouts) 15181ms 1.317 checkouts/sec
Step 6b circulation (checkins) 16692ms 1.198 checkins/sec
all transactions at once 109429ms 1.644 operations/sec
checked with perl -MCache::Memcached -MData::Dumper=Dumper -le 'print
Dumper(Cache::Memcached->new(servers => ["localhost:11211"])->stats);'
that memcache was running & accessed:
'get_hits' => '1284',
'cmd_get' => '1302',
Could not find any problem, so ... patch pushed
(but I still think we [c|sh]ould store all sysprefs in a single cache entry)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list