Re: threads extension

From: Date: Tue, 14 Aug 2007 16:50:24 +0000
Subject: Re: threads extension
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4842@lists.php.net to get a copy of this message
Unfortunately, this principle doesn't let php become truly universal language, while practically it can be such. I am not suggesting to get rid of current php-behaviour — it is perfectly fine for most of the cases. I am talking about POSSIBILITY to make long-running apps without changing language from php to something else. sometimes it is needed On 8/14/07, Rasmus Lerdorf <rasmus@lerdorf.com> wrote: > Alexey Zakhlestin wrote: > > why not? :) > > does it bring some unexpected problem? > > One of the main design principles behind PHP is the shared-nothing > perfect sandbox. It ensures that each request is discrete and > completely independent of any other request. This core principle allows > it to scale horizontally to handle massive loads. > > Obviously complex applications need a persistent datastore of some sort, > and sometimes that needs to be faster than a database, but in order to > keep the architecture manageable we need very clean and concise > interfaces between the core of PHP and these add-on mechanisms. > Threading is pretty much the opposite of a clean and concise interface > to our perfect sandbox. > > -Rasmus > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

« previous php.pecl.dev (#4842) next »