How to cap server load?

Stefan Caunter stef at scaleengine.com
Sat Jan 5 18:20:37 UTC 2013


You need to test the response time of a sample php script. Mark the
back end as down if it fails the response time threshold a certain
number of times. After you back off, it should recover health if your
algorithm is working. Remember, the database is likely to be the
ultimate performance issue with php performance.


----

Stefan Caunter
https://www.scaleengine.com/


On Sat, Jan 5, 2013 at 11:15 AM, KT Walrus <kevin at my.walr.us> wrote:
> I really want to ensure that my web servers are not overloaded.
>
> Can I do this with nginx?
>
> That is, is there a variable I could test to decide whether nginx should send the request to the local PHP backend or to forward the request to other nginx servers in the server farm, based on the load of the PHP backend?  Maybe a variable that contains how many concurrent requests to nginx are waiting for a response?
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list