[Koha-bugs] [Bug 17690] Use task scheduler daemon

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 21 04:41:54 CET 2017


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

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
I haven't received any comments about task scheduling here or on the listserv. 

Long ago, Chris Cormack mentioned Gearman, but I had my reservations. The
documentation was very spotty, the project seemed dormant (although it appears
to have been revived in mid 2016), and it didn't offer time-based scheduling or
the level of control that we were wanting.

Martin Renvoize said there were other modules out there, but all the job
servers and such I've seen don't really fit what we want.

Celery has great documentation and has a time-based scheduler, but it requires
the server and workers to be written in Python, which isn't great for Koha
since it's a Perl-based app.

I have a couple different Perl-based implementations I've written using POE,
which work similarly to Celery, but the server and workers are written in Perl.
It's not as comprehensive as Celery, but it works and it's exactly to purpose.

I'm hoping that people will accept the Perl-based design. I'm in the process of
breaking it down into multiple modules which are easier to unit test. 

I'd like to get this into Koha before bug 10662, so that this can be the basis
for the OAI-PMH harvesting. Maybe I'll make a simple email worker as a proof of
concept and a way of evaluating the modules separate from the OAI-PMH
harvesting of bug 10662...

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


More information about the Koha-bugs mailing list