Welcome! Log In Create A New Profile

Advanced

Re: How to cap server load?

Stefan Caunter
January 05, 2013 01:22PM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to cap server load?

ktwalrus January 05, 2013 11:16AM

Re: How to cap server load?

Stefan Caunter January 05, 2013 01:22PM

Re: How to cap server load?

ktwalrus January 05, 2013 01:34PM

Re: How to cap server load?

Stefan Caunter January 05, 2013 06:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready