Problems? Is your data what you think it is? | |
PerlMonks |
Re: Need Fast LWP GETby perlfan (Vicar) |
on Jun 13, 2020 at 04:17 UTC ( [id://11118009]=note: print w/replies, xml ) | Need Help?? |
This is generally handled by using fork. But if you don't watch how many children you're creating, you will fork bomb your system. I've found Parallel::ForkManager is a really nice, unobstrusive layer above fork that provides pretty much what you're going to need. That said, there are a variety of async modules out there; but I am pretty sure they all fork under the hood since Perl doesn't support threads unless they've written some fancy pthreaded XS backends (which maybe some have).
In Section
Seekers of Perl Wisdom
|
|