Re: PHP scalability problem
| From: | hessiess at hessiess dot com | Date: | Wed, 27 May 2009 15:06:01 +0000 |
| Subject: | Re: PHP scalability problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293216@lists.php.net to get a copy of this message | ||
> 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
You should *NEVER* trust the client with anything remotely important.
A, it creates more of a dependency on the client side software required
to use your application, and B, it has the potential to be a *MASSIVE*
security risk.