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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 15 16:14:51 CEST 2019


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

Juan Romay Sieira <juan.sieira at xercode.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |juan.sieira at xercode.es

--- Comment #25 from Juan Romay Sieira <juan.sieira at xercode.es> ---
Thanks Jonathan for the great job done. I have been testing the development, it
works correctly and it seems to me a very good idea to use RabbitMQ as a queue
manager.

As I had told you by email, we have to do a development focused on the reports,
so that they can be executed regardless of AT, and also can be scheduled
reports that require user parameters at the time of execution. Because the
reports should be able to be programmed, the way to work with RabbitMQ would be
through two possibilities:

* Use version 3.5.3 or later of RabbitMQ. The one I have installed with Debian
Jessie is 3.3.5. From version 3.5.3 you can use a plugin for delayed messages,
so that these can be consumed in the future, and not immediately, which is how
RabbitMQ works. I do not know how Net::RabbitFoot will behave in this case ...

* Use an intermediate table (or the background_jobs table, with a new column
called exec_on) for future messages, and have a producer (cronjob) to send the
messages to RabbitMQ at the time they need to be consumed.

If nobody raises objections to the use of RabbitMQ, I can investigate the above
options, and make a POC for scheduled reports.

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


More information about the Koha-bugs mailing list