Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47707 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32447 invoked from network); 1 Apr 2010 18:02:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 18:02:22 -0000 Authentication-Results: pb1.pair.com header.from=brian@moonspot.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=brian@moonspot.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain moonspot.net designates 72.5.90.27 as permitted sender) X-PHP-List-Original-Sender: brian@moonspot.net X-Host-Fingerprint: 72.5.90.27 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [72.5.90.27] ([72.5.90.27:45336] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/33-16887-DAFD4BB4 for ; Thu, 01 Apr 2010 13:02:22 -0500 Received: (qmail 31493 invoked from network); 1 Apr 2010 18:02:09 -0000 Received: from unknown (HELO mail.dealnews.com) (10.1.10.7) by -H with ESMTPS (DHE-RSA-AES256-SHA encrypted); 1 Apr 2010 18:02:09 -0000 Received: (qmail 6781 invoked from network); 1 Apr 2010 18:02:18 -0000 Received: from h105.248.18.98.static.ip.windstream.net (HELO Brian-Moons-MacBook-Pro.local) (brianm@98.18.248.105) by -H with ESMTPA; 1 Apr 2010 18:02:18 -0000 Message-ID: <4BB4DFA9.8000200@moonspot.net> Date: Thu, 01 Apr 2010 13:02:17 -0500 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: speedy CC: Rasmus Lerdorf , PHP Developers Mailing List References: <1941231697.20100401163215@gmail.com> <4BB4BA13.2070706@lerdorf.com> <19610230188.20100401180311@gmail.com> <4BB4C6D5.7030004@lerdorf.com> <537889361.20100401192706@gmail.com> In-Reply-To: <537889361.20100401192706@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php and multithreading (additional arguments) From: brian@moonspot.net (Brian Moon) > Now imagine a whole web server written in PHP (ie. nanoserv), say, using > libevent as the network backend, running the above described real-time web > implementation. Alternatively, you could perhaps even wire it into worker/event > model of apache/other servers instead of rolling your own. It sounds quite powerful, > and development-effort-wise cheap - out of a mere HTML preprocessor! PHP works fine in Apahce worker now if you know what you are doing and don't do stupid things with PHP in a web environment. Keep all the stupid stuff in Gearman, cron or non-threaded servers. This is just not what PHP is for. Brian.