Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40514 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20005 invoked from network); 14 Sep 2008 23:04:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2008 23:04:03 -0000 Authentication-Results: pb1.pair.com header.from=Johannes.Schlueter@Sun.COM; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 192.18.6.21 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 192.18.6.21 gmp-eb-inf-1.sun.com Solaris 10 (beta) Received: from [192.18.6.21] ([192.18.6.21:42759] helo=gmp-eb-inf-1.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/06-11861-E589DC84 for ; Sun, 14 Sep 2008 19:04:00 -0400 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m8EN3phm016260 for ; Sun, 14 Sep 2008 23:03:54 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K7700L01K0QCI00@fe-emea-09.sun.com> (original mail from johannes@php.net) for internals@lists.php.net; Mon, 15 Sep 2008 00:03:50 +0100 (BST) Received: from [192.168.1.101] ([82.135.88.239]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K7700M4HK2D5180@fe-emea-09.sun.com>; Mon, 15 Sep 2008 00:03:50 +0100 (BST) Date: Mon, 15 Sep 2008 01:03:42 +0200 In-reply-to: Sender: Johannes.Schlueter@Sun.COM To: Rustam Abdullaev Cc: internals@lists.php.net Message-ID: <1221433422.16613.11.camel@goldfinger.johannes.nop> MIME-version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-type: text/plain Content-transfer-encoding: 7BIT References: <54.9F.33739.7631DC84@pb1.pair.com> Subject: Re: [PHP-DEV] PHP Suspendable requests for Apache From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sun, 2008-09-14 at 23:21 +0200, Rustam Abdullaev wrote: > > Second and most important though, Apache isn't architected to handle long > > running processes inside a request, as it typically uses a limited pool of > > Not true.. Tomcat supports comet, and it runs on APR. Yes, the thread pool > is small, but there is always a solution. The idea is to return the thread > back to Apache's thread pool while waiting for an event: > http://tomcat.apache.org/tomcat-6.0-doc/aio.html Then convince the Apache developers to implement the feature in Apache httpd... > Anyway, I'm positive that its doable.. Those Java guys have it already :) ... if you find a good way: feel free to send a patch :-) johannes