Re: php and multithreading (additional arguments)

From: Date: Thu, 01 Apr 2010 18:02:17 +0000
Subject: Re: php and multithreading (additional arguments)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-47707@lists.php.net to get a copy of this message
Now imagine a whole web server written in PHP (ie. nanoserv), say, using libevent as the network backend, running the above described real-time web implementation. Alternatively, you could perhaps even wire it into worker/event model of apache/other servers instead of rolling your own. It sounds quite powerful, and development-effort-wise cheap - out of a mere HTML preprocessor!
PHP works fine in Apahce worker now if you know what you are doing and don't do stupid things with PHP in a web environment. Keep all the stupid stuff in Gearman, cron or non-threaded servers. This is just not what PHP is for. Brian.

« previous php.internals (#47707) next »