Perl-Sensitive Sunglasses | |
PerlMonks |
Re: When to use forks, when to use threads ...?by jdrago_999 (Hermit) |
on Sep 05, 2008 at 14:06 UTC ( [id://709279]=note: print w/replies, xml ) | Need Help?? |
On Windows, use threads; but on Linux, use forks;
Everything else should be the same. Check out forks and threads. In my experience, using multiple processes via the forks module is convenient, simple and maintainable, even when inserting/updating large amounts of records in a database.
In Section
Seekers of Perl Wisdom
|
|