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

--- Comment #53 from David Cook <[email protected]> ---
At the moment, I'm writing a new task scheduler in Golang for a plugin version
of Bug 10662. Like the existing Perl version attached to Bug 10662, it closely
couples the task scheduler and OAI-PMH harvester. In the Golang case, when the
timer fires, a new thread is created to do a HTTP download of XML (which
actually pipes the XML stream into another thread with a XML stream reader in
it which concurrently parses and writes away the downloaded records). I am
planning to give each task a thread to take those downloaded records and import
them into Koha (via a Plugin API). But if I were to use a more generalized task
scheduler... I'm not sure how I'd do it. If we did have a message queue,
perhaps the download task would send the records to an API which would record
them and then enqueue a RabbitMQ message to an import worker.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to