in reply to Re: Module for transparently forking a sub?
in thread Module for transparently forking a sub?
The same can be said of forking of course, you could say that DBD::mysql isn't fork-safe and you'd be kind of right. But there's definitely fewer problems with forking and XS code.
Also, the performance of threads, particularly for smallish tasks, is really quite bad. I know you're going to ask me to quantify that statement but I really don't have the time. I've seen it benchmarked plenty of times before though, so you can probably find a fork versus threads benchmark around.
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Module for transparently forking a sub?
by BrowserUk (Patriarch) on Feb 13, 2009 at 22:01 UTC | |
by samtregar (Abbot) on Feb 14, 2009 at 05:33 UTC | |
by BrowserUk (Patriarch) on Feb 14, 2009 at 20:08 UTC | |
by samtregar (Abbot) on Feb 14, 2009 at 20:54 UTC | |
by BrowserUk (Patriarch) on Feb 14, 2009 at 21:32 UTC | |
by samtregar (Abbot) on Feb 13, 2009 at 22:40 UTC | |
by Anonymous Monk on Feb 14, 2009 at 18:05 UTC |