On Aug 20, 2004, at 4:44 PM, Charlie Minow wrote:

*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

I've looked around and can't find an explanation of what this really means. Does it, for example, mean that eventually DBI will consume all the RAM and kill the server? Or that it'll crash? All I have been able to find so far is that it's not recommended.

"Not recommended" is *usually* geek-speak for "We haven't proved it will work." However, absence of proof is not proof of absence. It's not guaranteed to work - but it's not guaranteed to crash either. (Usually - DBI *might* be a guaranteed crasher. I haven't tried it.)


Given the nature of the module, I'd say that the most likely result of a problem would be data corruption.

I pretty much understand what they mean by "mulitple threads", but I just want to know what would happen if I installed it anyway....

There's no danger in installing it, or in using it in a single-threaded script, even though your Perl is multi-threading capable. The warning is about using DBI in a multi-threaded script.


sherm--



Reply via email to