On 10.12.24 14:59, Boyuan Yang wrote:
It's fine we are doing batch processing instead of instant reactive processing
Yeah, but the batch delay time should still be zero, at least if the system is not busy.
Kernel 2.6.13 introduced the "inotify" system call. There's the "inoticoming" package that can start the batch job(s) as soon as a new file shows up.
Heck, the Linux::Inotify2 Perl module has been around almost as long: you could simply make these jobs long-running and tell them to wait for new files to show up, which might actually decrease system load.
I'd do this myself — this looks like an easily fixable paper cut — but somebody with (a) less than 15 years of not writing any Perl code, and preferably (b) some non-zero experience with our bug tracker, would make more sense.
-- -- regards -- -- Matthias Urlichs
OpenPGP_signature.asc
Description: OpenPGP digital signature