ID:               47894
 Updated by:       johan...@php.net
 Reported By:      ryan14 at mail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Windows/Linux
 PHP Version:      5.3.0RC1
 New Comment:

PHP is made to run from a web server, there you usually serve multiple
requests in parallel -> all cores used.

In PHP level multi-threading is barely needed, usually all threading is
needed for IO operations, but these can be solved by async connections
(as of 5.3 you have async query support with mysql for instance)

Adding full thread support just adds lots of new complexity and locking
issues and barely real wins in performance.


Previous Comments:
------------------------------------------------------------------------

[2009-04-04 09:54:03] ryan14 at mail dot com

Description:
------------
PHP doesn't currently support Multi threading and multiple core CPU's.
All new CPU's have multiple cores like intel's quad core CPU which has 4
cores and some motherboards have two CPU sockets so 2 quad core CPU's
would mean there would be 8 cores.
 PHP should support Multi threading and multiple core CPU's because it
will mean people won't need to have as many servers in their cluster,
because alot of CPU power is being wasted because PHP doesn't support
Multi threading and multiple core CPU's. 
 You can read more about it here:

http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html

So please PHP, the next version of PHP should support Multi threading
and multiple core CPU's. If you have to work with the mysql and apache
teams with this then please do it.

Can you pass on my feature request to the php team?

Thanks



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47894&edit=1

Reply via email to