<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Droid Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Очень сомневаюсь, что прирост будет "хорошим". Я бы начал все же с выстраивания стратегии кэширования.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Из экзотики: можете рискнуть сложить кэш на drbd</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />On 23 March 2015 15:30:20 Михаил Пульман wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Ситуация в том что есть железный балансировщик, он раскидывает трафик по 4-6 штукам nginx, а нжинксы балансируя траффик с помощью апстрима перенаправляют на бэкенд сервера. На балансировщиках nginx  настроен кэш. Получается что на всех балансировщиках разный кеш. Допусти клиентский запрос попавший на балансир номер 1 кеша там не обнаружилось и запрос пошел на бэкенд, в то время как на балансировщике номер 2 нужный кеш в этот момент был, но по понятным причинам не был использоан. Вообщем если сделать общий кеш для всех балансировщиков nginx  можно получить хороший прирост производительности.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Arial,Tahoma,Verdana,sans-serif'; font-size:12px; background-color:#ffffff;">С уважением, Михаил</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">23 марта 2015 г., 12:56 пользователь Илья Шипицин <<a href="mailto:chipitsine@gmail.com"><span style=" text-decoration: underline; color:#89cacb;">chipitsine@gmail.com</span></a>> написал:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:45px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">возможно, вы придете к монстроидной схеме<br /><br />nginx --> squid (с поддержкой ICAP) --> бекенды<br /><br />и даже после танцев с бубном вы ее настроите.<br /><br />но, практика показывает, что в таких случаях надо уметь отвечать на<br />вопрос "зачем это надо ?".<br />после ответа на который часто оказывается, что на самом деле - не надо.<br /><br />вы бы рассказали про вашу ситуацию в деталях ?<br /><br />23 марта 2015 г., 13:54 пользователь Михаил Пульман <<a href="mailto:pullmix@gmail.com"><span style=" text-decoration: underline; color:#89cacb;">pullmix@gmail.com</span></a>> написал:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:45px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Добрый день коллеги!<br />><br />> На фронте имеется n-ое количество nginx которые выступают в качестве<br />> балансировщиков.<br />> Нужно наладить единый кэш для всех фронтенд nginxов. Какие есть возможности<br />> в nginx для реализации этой задачи?<br />><br />> С уважением, Михаил<br />><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> _______________________________________________<br />> nginx-ru mailing list<br />> <a href="mailto:nginx-ru@nginx.org"><span style=" text-decoration: underline; color:#89cacb;">nginx-ru@nginx.org</span></a><br />> <a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru"><span style=" text-decoration: underline; color:#89cacb;">http://mailman.nginx.org/mailman/listinfo/nginx-ru</span></a><br />_______________________________________________<br />nginx-ru mailing list<br /><a href="mailto:nginx-ru@nginx.org"><span style=" text-decoration: underline; color:#89cacb;">nginx-ru@nginx.org</span></a><br /><a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru"><span style=" text-decoration: underline; color:#89cacb;">http://mailman.nginx.org/mailman/listinfo/nginx-ru</span></a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>