[Koha-bugs] [Bug 1993] Task Scheduler Needs Re-write
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 13 03:05:20 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1993
--- Comment #51 from David Cook <dcook at prosentient.com.au> ---
After seeing a comment on #3935, I was thinking that maybe this is worth
another revisit sometime soon.
There are lots of pre-existing job queues and task schedulers out there in the
world, but - considering our embracing of the Mojolicious framework - maybe we
should opt for Minion (https://mojolicious.org/perldoc/Minion). Martin Renvoize
has advocated this in the past and has some experience with it, I think.
For #10662, I wrote a job queue / task scheduler using
https://metacpan.org/pod/POE::Component::JobQueue and
https://metacpan.org/pod/POE::Wheel::Run. I had looked at Minion a bit, but I
think we hadn't accepted Mojolicious yet, and I had some requirements (like
deleting already enqueued jobs before they had a chance to run) which it didn't
seem to have.
I think the hardest thing for this issue is not the work itself... but making a
choice in a sea of possibilities.
On that note, maybe this is an issue that would best be addressed using
plugins. We could create a uniform task scheduler user interface and internal
API, and then the "hard work" of interfacing with a particular scheduling
system could be left up to a plugin.
That also means that we could experiment a bit before forging ahead with "The
One True Way"?
--
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list