Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Threading and production environments

Reply
Thread Tools

Threading and production environments

 
 
kj
Guest
Posts: n/a
 
      02-03-2006



When I tried to rebuild DBI today, I got the following warning:

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

I fought hard the decision to compile perl with threading support
because I was aware of this recommendation, but I was overruled by
our sysadmin and several co-workers.

I am inclined to revisit the subject, but I'd like to know how
current the warning above really is, and whether the problems with
enabling threading affect programs that don't explicitly use
threading.

Your opinions on the subject would be very much appreciated. The
OS is Linux (SuSE) and the architecture is i686.

Thanks,

kj

--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
 
Reply With Quote
 
 
 
 
xhoster@gmail.com
Guest
Posts: n/a
 
      02-03-2006
kj <> wrote:
> When I tried to rebuild DBI today, I got the following warning:
>
> *** You are using a perl configured with threading enabled.
> *** You should be aware that using multiple threads is
> *** not recommended for production environments.
>
> I fought hard the decision to compile perl with threading support
> because I was aware of this recommendation, but I was overruled by
> our sysadmin and several co-workers.
>
> I am inclined to revisit the subject, but I'd like to know how
> current the warning above really is, and whether the problems with
> enabling threading affect programs that don't explicitly use
> threading.


I have used DBI extensively (MySQL and Oracle) in non-threaded code running
on a threaded build of perl, and I have never encountered a problem.
(Well, I encouter all kinds of problems, but not ones related to the
threadedness. )

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: threading in PyQt vs threading in standard library Steven Woody Python 0 01-09-2009 07:48 AM
threading in PyQt vs threading in standard library Steven Woody Python 0 01-09-2009 07:15 AM
Large production environments using ZODB/ZOE? Phillip B Oldham Python 2 08-17-2008 07:17 AM
Cooperative threading preemptive threading - a bit confused failure_to@yahoo.co.uk Java 9 12-29-2007 01:10 AM
Python and threaded environments Eric S. Johansson Python 1 06-07-2004 04:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57