3 ms·
I don't get the threading criticism of Node, php and ruby are single threaded too (except for something like IronRuby which few people use).
by MatthewPhillips 16y ago
I don't get the threading criticism of Node, php and ruby are single threaded too (except for something like IronRuby which few people use).
- nerd_in_rage 16y agoThe difference is PHP is thread (or, rather, process) per connection. Node is one process handing multiple connections.
- MatthewPhillips 16y agoThanks for the clarification.
- jawngee 16y agoPHP-FPM is a single process and is built into 5.3, though it requires some configuration. http://interfacelab.com/nginx-php-fpm-apc-awesome/ http://interfacelab.com/nginx-php-fpm-apc-awesome/
- nerd_in_rage 16y agoCool! Thanks for that... I'll definitely check it out. Looks like there are patches for earlier versions.
- nickik 16y agoI would never use PHP anyway but there you can use the hole server because the webserver does it for you. Ruby does not? As far as I see JRuby does and is used a lot. The diffrence really is that Ruby does not claim to be super fast and scale really good.