Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
2011/6/3 Adam Richardson > On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 wrote: > >> >> >> 2011/6/3 Adam Richardson >> >>> On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 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 wrote: > On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 wrote: > > > any idea? > > > > 2011/5/25 李白|字一日 > > > > > hello, > > > > > > I am every interested in comet applications recently, and sadly found > php > > > is very weak in this area. > > > > > > i

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 wrote: > > > 2011/6/3 Adam Richardson > >> On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 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

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 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 the holding conn

Re: [PHP] Re: about php comet

2011-06-02 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-02 Thread Adam Richardson
On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 wrote: > any idea? > > 2011/5/25 李白|字一日 > > > 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 extend the > > abili

[PHP] Re: about php comet

2011-06-02 Thread 李白|字一日
any idea? 2011/5/25 李白|字一日 > 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 extend the > ability of the php to easy the way to comet applications? > > if it possi