Welcome! Log In Create A New Profile

Advanced

Re: Uneven High Load on the Nginx Server

Reinis Rozitis
October 05, 2016 09:10AM
> Load is ditributed on the basis of URI, with parameter set in haproxy
> config as "balance uri".
> This has been done to achieve maximum Cache Hit from the Server.

While the cache might be more efficient this way this can lead to one server
always serving some "hot" content while others stay idle.


If you can afford to shrink the cache you could try the haproxy's leastconn
mechanism.

It will innitially a increase the load on the backend (cache needs to
downloaded 3 times (if not configured to look up the neighbors first)) but
the load on the frontends should always be more or less even.


> Does high number of Writing is leading to increase in response time for
> delivering the content ?

Of course, it means that more clients are getting the data at the same time
(more disk/network io etc).

rr

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

Uneven High Load on the Nginx Server

anish10dec September 27, 2016 01:09PM

Re: Uneven High Load on the Nginx Server

Maxim Dounin September 27, 2016 01:58PM

Re: Uneven High Load on the Nginx Server

anish10dec September 27, 2016 02:20PM

Re: Uneven High Load on the Nginx Server

anish10dec October 05, 2016 08:10AM

Re: Uneven High Load on the Nginx Server

Reinis Rozitis October 05, 2016 08:42AM

Re: Uneven High Load on the Nginx Server

anish10dec October 05, 2016 08:51AM

Re: Uneven High Load on the Nginx Server

Reinis Rozitis October 05, 2016 09:10AM

Re: Uneven High Load on the Nginx Server

anish10dec October 05, 2016 09:42AM

RE: Uneven High Load on the Nginx Server

Reinis Rozitis October 05, 2016 02:36PM

Re: RE: Uneven High Load on the Nginx Server

anish10dec October 06, 2016 03:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
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