锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲自拍另类,97色在线播放视频,蜜臀av国产精品久久久久http://www.aygfsteel.com/liuyf8688/category/54506.htmlzh-cnWed, 27 Aug 2014 08:18:38 GMTWed, 27 Aug 2014 08:18:38 GMT60Session persistence in Nginxhttp://www.aygfsteel.com/liuyf8688/articles/417389.htmlliuyf8688liuyf8688Wed, 27 Aug 2014 02:16:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/417389.htmlhttp://www.aygfsteel.com/liuyf8688/comments/417389.htmlhttp://www.aygfsteel.com/liuyf8688/articles/417389.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/417389.htmlhttp://www.aygfsteel.com/liuyf8688/services/trackbacks/417389.html


Please note that with round-robin or least-connected load balancing, each subsequent client’s request can be potentially distributed to a different server. There is no guarantee that the same client will be always directed to the same server.

If there is the need to tie a client to a particular application server — in other words, make the client’s session “sticky” or “persistent” in terms of always trying to select a particular server — the ip-hash load balancing mechanism can be used.

With ip-hash, the client’s IP address is used as a hashing key to determine what server in a server group should be selected for the client’s requests. This method ensures that the requests from the same client will always be directed to the same server except when this server is unavailable.

To configure ip-hash load balancing, just add the ip_hash directive to the server (upstream) group configuration:

upstream myapp1 {     
        ip_hash;
        server srv1.example.com;
        server srv2.example.com;
        server srv3.example.com;
}


liuyf8688 2014-08-27 10:16 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 六安市| 涿州市| 民权县| 通城县| 桂东县| 东至县| 石柱| 淮阳县| 天镇县| 绥江县| 五华县| 玛曲县| 九江市| 普安县| 萝北县| 华宁县| 济宁市| 广南县| 山西省| 洛阳市| 都匀市| 宽城| 彰武县| 安阳县| 龙川县| 安陆市| 咸丰县| 永春县| 海门市| 上犹县| 吉安县| 交口县| 高碑店市| 公主岭市| 齐齐哈尔市| 鹰潭市| 塘沽区| 濮阳县| 绥滨县| 邻水| 鹿泉市|