Re: Command-line PHP script CPU usage goes sky-high, stays there--why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Per Jessen wrote:
> Jochem Maas wrote:
> 
>> Nathan Rixham wrote:
>>> Key I find though is multithreading, listener thread with
>>> stream_socket_server, 2 or 3 stream_socket_accept threads and a pair
>>> of new thread spawned to handle each connection (one to read, one to
>>> write) (not needed for stateless http style request processing).
>>>
>>> Nathan
>> hi Nathan,
>>
>>
>> any chance of a 'full blown' example for all the muppets who want to
>> try and grok this stuff? (bork bork, say I :-))
> 
> I'd be interested to see how he does the multi-threading in php. 
> Personally I'd always opt for C to write this type of thing, except for
> perhaps the most simple cases. 
> 

any chance of an example from you too?

> 
> /Per Jessen, Zürich
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux