[Koha-bugs] [Bug 16088] New: Excessive CGI->new() calls hurting cache performace under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 17 14:04:52 CET 2016


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

            Bug ID: 16088
           Summary: Excessive CGI->new() calls hurting cache performace
                    under plack
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: abl at biblos.pk.edu.pl
        QA Contact: testopia at bugs.koha-community.org

Under plack, CGI->new is overriden (in misc/plack/koha.psgi etc.) - we are
flushing L1 syspref cache in there. C4::Language::getlanguage() subroutine
calls CGI->new().. Problem is, getlanguage() is getting called surprisingly
often in Koha (e.g., ~100 times per single catalogue search), and that hurts
syspref caching performance under plack very significantly.

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


More information about the Koha-bugs mailing list