July 14, 2011 05:48PM
В датаценте, где арендуем сервера установлен лимит по трафику.
Превышение лимита строго карается денгами.

Решили разнести нагрузку на несколько серверов. Но идея в следующем -
входящие запросы поступают на frontend (load balancer), а ответы уходят
напрямую от backend серверов клиентам.

Есть несколько вопросов:
1. Чем грозит такая ассиметричная схема?
2. Необходимо ли включать ip_hash или без разницы?
3. Конфиг:

server {
listen 80 default;

access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log info;

location / {
proxy_pass http://backend;
proxy_next_upstream error timeout http_502 http_504;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
}
}

- есть замечания?


Спасибо.

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

Load balancer with traffic limit

sergey.kobzar July 14, 2011 05:48PM

Re: Load balancer with traffic limit

Роман Москвитин July 15, 2011 04:14AM

Re: Load balancer with traffic limit

sergey.kobzar July 15, 2011 04:46AM

Re: Load balancer with traffic limit

studz July 15, 2011 04:56AM

Re: Load balancer with traffic limit

Alex Vorona July 15, 2011 04:50AM

Re: Load balancer with traffic limit

sergey.kobzar July 15, 2011 05:00AM

Re: Load balancer with traffic limit

Alexander Bodnarashik July 15, 2011 05:08AM

Re: Load balancer with traffic limit

sergey.kobzar July 15, 2011 06:08AM

Re: Load balancer with traffic limit

Alexander Bodnarashik July 15, 2011 07:48AM

Re: Load balancer with traffic limit

sergey.kobzar July 15, 2011 08:52AM

Re: Load balancer with traffic limit

Alex Vorona July 15, 2011 05:20AM

Re: Load balancer with traffic limit

Илья Шипицин July 17, 2011 08:24AM

Re: Load balancer with traffic limit

sergey.kobzar July 19, 2011 01:12PM

Re: Load balancer with traffic limit

Alex Vorona July 19, 2011 01:34PM

Re: Load balancer with traffic limit

Илья Шипицин July 20, 2011 01:54PM

Re: Load balancer with traffic limit

Alex Vorona July 21, 2011 10:36AM

Re: Load balancer with traffic limit

Илья Шипицин July 21, 2011 01:32PM

Re: Load balancer with traffic limit

Илья Шипицин July 20, 2011 10:06AM

Re: Load balancer with traffic limit

sergey.kobzar July 20, 2011 02:24PM

Re: Load balancer with traffic limit

Gena Makhomed July 20, 2011 03:26PM

Re: Load balancer with traffic limit

Роман Москвитин July 20, 2011 03:38PM

Re: Load balancer with traffic limit

Gena Makhomed July 20, 2011 04:04PM

Re: Load balancer with traffic limit

sergey.kobzar July 20, 2011 04:38PM

Re: Load balancer with traffic limit

Илья Шипицин July 20, 2011 11:30PM

Re: Load balancer with traffic limit

Gena Makhomed July 21, 2011 05:26PM

Re: Load balancer with traffic limit

sergey.kobzar July 20, 2011 04:36PM

Re: Load balancer with traffic limit

tantra July 20, 2011 05:54PM

Re: Load balancer with traffic limit

sergey.kobzar July 20, 2011 04:36PM

Re: Load balancer with traffic limit

Илья Шипицин July 20, 2011 11:28PM

Re: Load balancer with traffic limit

Pasha Klets July 21, 2011 02:04AM

Re: Load balancer with traffic limit

Gena Makhomed July 31, 2011 03:14PM

Re: Load balancer with traffic limit

Илья Шипицин August 01, 2011 02:12AM

Re: Load balancer with traffic limit

Sov1et August 01, 2011 05:04AM

Re: Load balancer with traffic limit

Pasha Klets August 01, 2011 05:04AM

Re: Load balancer with traffic limit

Dmitry Morozovsky July 21, 2011 09:36AM

Re: Load balancer with traffic limit

Gena Makhomed July 21, 2011 04:56PM

Re: Load balancer with traffic limit

sergey.kobzar July 21, 2011 05:34PM

Re: Load balancer with traffic limit

Gena Makhomed July 21, 2011 07:12PM

Re: Load balancer with traffic limit

Alexandr Gomoliako July 21, 2011 08:22PM

Re: Load balancer with traffic limit

Илья Шипицин July 20, 2011 11:24PM

Re: Load balancer with traffic limit

sergey.kobzar July 21, 2011 06:18AM

Re: Load balancer with traffic limit

Alexandre Snarskii July 15, 2011 05:30AM

Re: Load balancer with traffic limit

sergey.kobzar July 15, 2011 06:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready