Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
> 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

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
> Can you provide some scenario, when this is useful? Server Push is an http hack that enables the server to send a message to the client immediately, without the need for a client to poll the server. Basically, the client makes an XMLHTTP request to which the server doesn't answer immediately,

[PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
Hi, Is anyone working on a suspendable request support in PHP when used as a module in Apache? Suspendable requests are great for supporting Server Push technology, but are currently only supported in Jetty and Tomcat. The API would be extremely simple, for example: suspend(string request_id,