[Koha-bugs] [Bug 28410] [Omnibus] Reduce memory footprint

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 01:08:51 CEST 2023


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

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to Blou from comment #4)
>  A few old-school SELECT in
> C4::Context, and you reduce all your scripts memory footprints by a lot.  

That's the strategy I use in bug 27267 and it is highly effective. 

I need to rewrite the patch on that bug (if only I had infinite time).

I think the background jobs worker would benefit from the same approach. In the
RabbitMQ codeflow, the database lookup is very simple. It could easily be done
without an ORM.

The DB codeflow is a bit messier since it takes an arrayref for "queue". It can
still be done in plain SQL but is harder to do.

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


More information about the Koha-bugs mailing list