[Koha-bugs] [Bug 30172] Background jobs failing due to race condition

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 01:25:45 CET 2022


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

--- Comment #15 from David Cook <dcook at prosentient.com.au> ---
(In reply to Tomás Cohen Arazi from comment #13)
> It feels like the message broker is only adding complexity with no obvious
> gain?

I think the obvious gain is asynchronous background processing (using a
language agnostic industry standard message broker). Koha certainly has need
for a lot more asynchronous background processing.

That said, there are times where I wish that we'd just used Minion instead as
it seems to be a complete solution - whereas we've created a partial bespoke
solution around RabbitMQ. (That said, Minion also only supports PostgreSQL out
of the box. There's a third-party MySQL backend but it looks a little dodgy.)

One of my hopes with RabbitMQ was that it would allow us to move beyond just
Perl (whereas Minion is Perl-only). However, in practice, I don't think we've
needed to branch out beyond Perl server-side. Even if we did, there would still
be the issue of the result store. We'd need to either use a HTTP API for
recording results or build an interface to the result store in whichever
language we were using, which would mean some code duplication. 

Pros and cons...

In any case though, I think this particular bug report is just a growing pain.

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


More information about the Koha-bugs mailing list