Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 62263 invoked from network); 2 Dec 2004 16:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 16:03:24 -0000 Received: (qmail 8376 invoked by uid 500); 2 Dec 2004 16:03:13 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 8317 invoked by uid 500); 2 Dec 2004 16:03:12 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 8301 invoked by uid 99); 2 Dec 2004 16:03:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from uk.radan.com (HELO styx.radan.com) (217.205.167.84) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Dec 2004 08:03:10 -0800 Received: from unknown(217.205.167.82) by styx.radan.com via csmap id b1a96086_447b_11d9_89a8_0002b3cb43e0_4640; Thu, 02 Dec 2004 16:03:23 +0000 (GMT) Received: from [172.16.51.16] (hdxp4.uk.radan.com [172.16.51.16]) by sockeye.uk.radan.com (8.9.1b+Sun/8.9.1) with ESMTP id PAA04287; Thu, 2 Dec 2004 15:59:24 GMT Message-ID: <41AF3C58.3050603@uk.radan.com> Date: Thu, 02 Dec 2004 16:01:28 +0000 From: Steve Hay User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Perrin Harkins CC: Stas Bekman , mod_perl Dev Subject: Re: plans for mp2.0.0 release schedule References: <41AE8C9D.1080003@stason.org> <41AEF4D5.4070504@uk.radan.com> <41AF323A.4040300@elem.com> In-Reply-To: <41AF323A.4040300@elem.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Perrin Harkins wrote: >Steve Hay wrote: > > >>If I switch to mp2 then the Perl interpreter is now multi-threaded, thus >>removing the performance bottleneck, which should be great except for >>one thing: All our mp code involves DBI (& DBD-mysql), but DBI is not >>thread-safe! >> >> > >I thought DBI was thread-safe at this point. It's more likely >DBD::mysql that is not. > > There are quite possibly problems with DBD-mysql too, but DBI-1.46 pod does say: "Using DBI with perl threads is not yet recommended for production environments." See: http://search.cpan.org/~timb/DBI-1.46/DBI.pm#Threads_and_Thread_Safety > > >>Is there a way to configure mp2 to build with a non-threaded Perl, or at >>least to run it in such a way as to not make use of the Perl >>interpreter's threads, in order to simulate mp1-style behaviour? >> >> > >Sure, see >http://perl.apache.org/docs/2.0/user/config/config.html#Threads_Mode_Specific_Directives > >Just tell it to start a single Perl interpreter, and you will still get >apache threads without perl that handle static stuff. > >Of course I haven't tried this stuff personally on win32, but you can >grab the latest mp2 and try it out yourself. > I think this is what Stas was also saying, but thanks for the link. - Steve ------------------------------------------------ Radan Computational Ltd. The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org