[Koha-bugs] [Bug 21872] Elasticsearch indexing faster by making it multi-threaded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 22 08:59:31 CET 2018


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

--- Comment #2 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
(In reply to David Cook from comment #1)
> I'll just split hairs and mentioning that multithreading in Perl is not
> recommended and never really done, but you could achieve the thing by
> forking workers. 

Thanks for making the distinction.

> 
> In #10662, I use the following modules to perform rapid event-driven
> processing of job queues:
> 
> https://metacpan.org/pod/POE::Component::JobQueue
> https://metacpan.org/pod/POE::Wheel::Run

The Parallel::ForkManager is also used already in Koha so it would be worth to
take look if it could be used with the indexing code as it looks super simple!

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


More information about the Koha-bugs mailing list