[Koha-bugs] [Bug 22417] Delegate background jobs execution

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 1 03:20:27 CET 2019


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

--- Comment #16 from David Cook <dcook at prosentient.com.au> ---
(In reply to Tomás Cohen Arazi from comment #12)
> My only doubt is if we should really model the task queue with a message
> queue. I tried the same Jonathan tried but using AnyEvent::Task and the
> results where similar, and it only required a unix socket to communicate
> client and server processes. My suggestion was to use zeromq. But lets see
> how this goes. Specially in the integration step.

Yeah, for #10662, I used POE::Component::JobQueue and a Unix socket. It was
very effective, although my bespoke implementation had a number of limitations.
I figured allowing TCP sockets also might be a good idea just to allow for more
distributed architectures.

When I was working on #10662, I was considering both RabbitMQ and ZeroMQ, but
ended up doing my own job queue. I'm not necessarily sold on RabbitMQ yet, but
I figure if Jonathan is willing to do it, I'm happy to see how this goes too.
I'm not willing to put in the time to make it happen :/.

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


More information about the Koha-bugs mailing list