Re: PHP Suspendable requests for Apache
| From: | Johannes Schlüter | Date: | Sun, 14 Sep 2008 23:03:42 +0000 |
| Subject: | Re: PHP Suspendable requests for Apache | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40514@lists.php.net to get a copy of this message | ||
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