Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote: any idea? 2011/5/25 李白|字一日 calid...@gmail.com hello, I am every interested in comet applications recently, and sadly found php is very weak in this area. i am just wondering if it is possible to write an extension to

Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
is there an efficient way to hold the requests while loop is an expensive way in most cases. and i don't know how to notify the holding connections if the change need to be notify to the holding requests? writing extension to php is also a very expensive way for me:( 2011/6/3 Adam Richardson

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an expensive way in most cases. You can call sleep(number_of_seconds_to_sleep) within the while loop to lower the cost, so to speak. and i don't know how to notify

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote: 2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an expensive way in most cases. You can call

Re: [PHP] Re: about php comet

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 7:11 AM, Adam Richardson simples...@gmail.comwrote: On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote: any idea? 2011/5/25 李白|字一日 calid...@gmail.com hello, I am every interested in comet applications recently, and sadly found php is very

Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote: 2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an