<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>как tcp&nbsp;</div><div>балансер - roundrobin&nbsp;</div><br><div><div>7 февр. 2008, в 18:35, Alexey Kovyrin написал(а):</div><br class="Apple-interchange-newline"><blockquote type="cite">Как настраивали haproxy?<br><br>2008/2/7 Alexander Simonov &lt;<a href="mailto:a.simonov@favoritbet.com">a.simonov@favoritbet.com</a>&gt;:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">Ну предварительные результаты теста таковы:<br></blockquote><blockquote type="cite">Haproxy на несколько бекендов fastcgi работает медленее даже чем простой<br></blockquote><blockquote type="cite">nginx.<br></blockquote><blockquote type="cite">nginx + upstream_fair работает почти также как просто nginx , но нагрузка на<br></blockquote><blockquote type="cite">сервера меньше, точнее нагрузка на бекенды распределяеться равномерно. Чего<br></blockquote><blockquote type="cite">и добивались :)<br></blockquote><blockquote type="cite">nginx использовал 0.5.35<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">6 февр. 2008, в 21:48, Михаил Монашёв написал(а):<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Здравствуйте Александр,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">AS&gt; Ну это понятно. Дело ведь в том что хочется без промежуточного haproxy.<br></blockquote><blockquote type="cite">AS&gt; Это дополнительный демон, дополнительная память и ресуры :)<br></blockquote><blockquote type="cite">AS&gt; Завтра буду активно тестировать патчи Езры и сделаю отчет :)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Очень интересно будет его почитать...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Как &nbsp;мне кажется, использование Fari-балансера может немного замедлить<br></blockquote><blockquote type="cite">отдачу &nbsp;динамики. &nbsp;Одно &nbsp;дело &nbsp;запрос &nbsp;уже &nbsp;находится &nbsp;в &nbsp;апаче и ждёт<br></blockquote><blockquote type="cite">освобождения &nbsp;чайлда, &nbsp;а &nbsp;другое &nbsp;дело, &nbsp;он ждёт в nginx-е, потом идёт<br></blockquote><blockquote type="cite">только &nbsp;к &nbsp;апачу. &nbsp;Есть &nbsp;подозрение, &nbsp;что &nbsp;накапливать очередь в апаче<br></blockquote><blockquote type="cite">лучше, чем в nginx-е. Кроме того, с апачём этот балансер вообще теряет<br></blockquote><blockquote type="cite">смысл: &nbsp;он &nbsp;не &nbsp;даёт апачу плодить чайлдов и заставляет его работать с<br></blockquote><blockquote type="cite">одним чайдом. Хотя может я заблуждаюсь...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">WBR,Alexander Simonov (DEVL-RIPE | DEVL-UANIC)<br></blockquote><blockquote type="cite">Programmer, IT Department, Dnepr-Victoria (<a href="http://favoritbet.com">http://favoritbet.com</a>)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br><br><br>-- <br>Alexey Kovyrin<br><a href="http://kovyrin.info/">http://kovyrin.info/</a><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">WBR,Alexander Simonov (DEVL-RIPE | DEVL-UANIC)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Programmer, IT Department, Dnepr-Victoria (<a href="http://favoritbet.com/"><font color="#001ee6" style="color: rgb(0, 30, 230); "><u>http://favoritbet.com</u></font></a>)</font></div></div><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>