Re: PHP scalability Problem

From: Date: Thu, 28 May 2009 20:43:56 +0000
Subject: Re: PHP scalability Problem
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4906@lists.php.net to get a copy of this message
tRace DOliveira wrote: > What I am trying to achieve is to have the server do less processing. Like I said PHP is a > server side scripting language and each time a request is made a process is spawned and processes > are heavy weight as compared to a thread which is a light weight process. So I want to take away > much processing away from the server and have the client do it instead. Because if many requests are > made the server will eventually go down because it will over the server.I am not trying to get away > from PHP but I am trying to solve the problem of scalability > Thank you, > Leonard D'Oliveira > Read my previous email. You can run php into threads. You can place more servers instead of just one. Not everything can be sent to the clients (eg. password checks). And certainly it's a bad idea to send them php code to interprete (also see my answer to the mail you sent me).

« previous php.webmaster (#4906) next »