<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/post/307/</link>
<title><![CDATA[我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[其他Unix技术]]></category>
<pubDate>Thu, 01 Nov 2007 14:29:17 +0000</pubDate> 
<guid>http://zyan.cc/post/307/</guid> 
<description>
<![CDATA[ 
	　　<strong>DNS轮循</strong><br/>　　DNS轮循是指将相同的域名解释到不同的IP，随机使用其中某台主机的技术。但其具有明显的缺点：一旦某个服务器出现故障，即使及时修改了DNS设置，还是要等待足够的时间（刷新时间）才能发挥作用，在此期间，保存了故障服务器地址的客户计算机将不能正常访问服务器。DNS负载均衡采用的是简单的轮循负载算法，不能区分服务器的差异，不能反映服务器的当前运行状态，不能做到为性能较好的服务器多分配请求，甚至会出现客户请求集中在某一台服务器上的情况。<br/><br/>　　<strong>F5 BIG-IP</strong><br/><a href="http://zyan.cc/attachment/200711/f5-big-ip.jpg" target="_blank"><img src="http://zyan.cc/attachment/200711/f5-big-ip.jpg" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0" align="right"/></a>　　简介：F5 Networks 公司的著名硬件负载均衡交换机。支持硬件四层、七层交换。不同的型号性能不同，BIG-IP 6400可以支持800万条并发连接，低一点型号的可以支持400万条以上的并发连接。性能极高，但价格也不菲。<br/>　　价格：BIG-IP 6400的价格在16万元人民币左右。<br/>　　网址：<a href="http://www.f5.com.cn/" target="_blank">http://www.f5.com.cn/</a>（中国） <a href="http://www.f5.com/" target="_blank">http://www.f5.com/</a>（全球）<br/><br/>　　<strong>LVS（Linux Virtual Server）</strong><br/>　　简介：软件四层交换。LVS是在Linux内核中作四层交换，只花128个字节记录一个连接信息，不涉及到文件句柄操作，故没有65535最大文件句柄数的限制。LVS性能很高，可以支持100～400万条并发连接。<br/>　　价格：免费、开源<br/>　　网址：<a href="http://zh.linuxvirtualserver.org/" target="_blank">http://zh.linuxvirtualserver.org/</a><br/><br/>　　<strong>L7SW（Layer7 switching）</strong><br/>　　简介：软件七层交换。这是一款类似LVS的新负载均衡软件，我没有实际应用过，性能未知，因此不作评价。这是它的英文介绍：Layer7 switching is driving a low-level engine using networking design to speed-up forwarding of data stream. Implementation in this project is split into a userspace daemon and a low-level kernelspace forwarding engine. Userspace daemon is responsible for scheduling and switching decisions. Kernelspace forwarding engine is responsible for forwarding stream and using TCP-Splicing scheme. TCP-Splicing is the postponement of the connection between the client and the server in order to obtain sufficient information to make a routing decision. This project is close to Linux Virtual Server project since lot of discusions on this topics have been made online and offline LVS project.<br/>　　价格：免费、开源<br/>　　网址：<a href="http://www.linux-l7sw.org/" target="_blank">http://www.linux-l7sw.org/</a><br/><br/>　　<strong>HAProxy</strong><br/>　　简介：软件七层交换，反向代理服务器。目前还不支持虚拟主机，但其配置简单，拥有非常不错的服务器健康检查功能，当其代理的后端服务器出现故障，HAProxy会自动将该服务器摘除，故障恢复后再自动将该服务器加入。另外，HAProxy还支持双机热备。我曾经用过一段时间，能支持2～3万条并发连接。现在我用它做普通的小并发负载均衡，主要用到的是它的服务器健康检查功能。<br/>　　价格：免费、开源<br/>　　网址：<a href="http://haproxy.1wt.eu/" target="_blank">http://haproxy.1wt.eu/</a><br/><br/>　　<strong>Nginx</strong><br/>　　简介：软件七层交换，反向代理服务器。能够很好地支持虚拟主机，可配置性很强，可以按URL做负载均衡。我目前一直在用，大约能支持3～5万条并发连接。<br/>　　价格：免费、开源<br/>　　网址：<a href="http://wiki.codemongers.com/NginxChs" target="_blank">http://wiki.codemongers.com/NginxChs</a>（中文维基）<br/>Tags - <a href="http://zyan.cc/tags/linux/" rel="tag">linux</a> , <a href="http://zyan.cc/tags/%25E8%25B4%259F%25E8%25BD%25BD%25E5%259D%2587%25E8%25A1%25A1/" rel="tag">负载均衡</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment439</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>Hugo.Leens 生活流水账 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 02 Nov 2007 14:46:31 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment439</guid> 
<description>
<![CDATA[ 
	转自 http://blog.s135.com/read.php/307.htm  了解目前流行的负载均衡技术 对于有钱的公司来说，硬件看来是最好的选择~ 看上去软件方式的LVS堪比硬件水平哦~ 估计配置起来要麻烦的多，不然低端的负载均衡交换机硬件还卖得出去么…… 莫非真的是中国人喜欢花钱买放心…… Nginx并发数比不上LVS，为啥不用LVS嗫？配置问题？还是服务器硬件档次问题……又或者是需求……所谓合适就好…… 　　DNS轮循　　DNS轮循是指将相同的域名解释到不同的I...
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment445</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>mysuso &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 05 Nov 2007 02:08:45 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment445</guid> 
<description>
<![CDATA[ 
	F5一般有谁在用，
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment447</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>outrace &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 06 Nov 2007 11:02:05 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment447</guid> 
<description>
<![CDATA[ 
	请问楼主HAProxy测试的数据是哪个版本的<br/>因为目前haproxy更新很快。<br/><br/>另外请问一下，lvs的测试数据，是使用lvs文档中介绍的3种IP负载均衡中的那种方式的测试结果<br/>nat ? / ip tun ? / dr<br/>另外我看lvs提供下载的源代码都好老了。不太放心哦。<br/><br/>最近正在学习这些。还请楼主赐教。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment454</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>jackbillow &lt;jackbillow@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Nov 2007 07:13:21 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment454</guid> 
<description>
<![CDATA[ 
	以前HAproxy性能有些问题，现在应该好多了。：）
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment455</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>jackbillow &lt;jackbillow@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Nov 2007 07:26:47 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment455</guid> 
<description>
<![CDATA[ 
	对了，alteon也用的很多，我一个朋友，他们就是用的alteon。163和我们一个方案一样，用的是crescendo(cn-5000),这个设备也不错。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment1472</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>huicong7788 &lt;zhxsh@vip.qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 01 Sep 2008 08:56:35 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment1472</guid> 
<description>
<![CDATA[ 
	你好，我最近熟悉负载均衡。你那有相关资料吗？麻烦你给我发一份。邮箱：zhxsh@vip.qq.com
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment2591</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>xxdtpyy &lt;xxdtpyy@tom.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 17 Feb 2009 11:52:10 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment2591</guid> 
<description>
<![CDATA[ 
	版主，您好：<br/> &nbsp; &nbsp; &nbsp; &nbsp; 如果有时间的话，能否请教一个haproxy相关的问题？我现在测试用的版本是1.3.15.6的，配置文件如下：<br/><br/>maxconn 5120<br/># &nbsp; &nbsp; &nbsp; log 192.168.10.180 local3 info <br/> &nbsp; &nbsp; &nbsp; &nbsp;log 127.0.0.1 &nbsp; local1 notice<br/> &nbsp; &nbsp; &nbsp; &nbsp;uid 501<br/> &nbsp; &nbsp; &nbsp; &nbsp;gid 502<br/> &nbsp; &nbsp; &nbsp; &nbsp;daemon<br/> &nbsp; &nbsp; &nbsp; &nbsp;quiet<br/> &nbsp; &nbsp; &nbsp; &nbsp;nbproc &nbsp;2 &nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp;pidfile /var/run/haproxy-private.pid<br/>defaults<br/> &nbsp; &nbsp; &nbsp; &nbsp;mode &nbsp; &nbsp;http<br/> &nbsp; &nbsp; &nbsp; &nbsp;option &nbsp;httplog<br/> &nbsp; &nbsp; &nbsp; &nbsp;option &nbsp;dontlognull<br/># &nbsp; &nbsp; &nbsp; log 127.0.0.1 local3<br/> &nbsp; &nbsp; &nbsp; &nbsp;retries 3<br/> &nbsp; &nbsp; &nbsp; &nbsp;redispatch<br/> &nbsp; &nbsp; &nbsp; &nbsp;maxconn 2000<br/> &nbsp; &nbsp; &nbsp; &nbsp;contimeout &nbsp; &nbsp; &nbsp;5000<br/> &nbsp; &nbsp; &nbsp; &nbsp;clitimeout &nbsp; &nbsp; &nbsp;50000<br/> &nbsp; &nbsp; &nbsp; &nbsp;srvtimeout &nbsp; &nbsp; &nbsp;50000<br/><br/>listen webfarm &nbsp;192.168.10.180:80<br/> &nbsp; &nbsp; &nbsp; mode http<br/> &nbsp; &nbsp; &nbsp; stats enable<br/> &nbsp; &nbsp; &nbsp; balance &nbsp;uri &nbsp; &nbsp;<br/># &nbsp; &nbsp; &nbsp;dispatch 192.168.10.180:80<br/># &nbsp; &nbsp; &nbsp;cookie SERVERID insert indirect<br/> &nbsp; &nbsp; &nbsp; log global<br/> &nbsp; &nbsp; &nbsp; option httplog<br/> &nbsp; &nbsp; &nbsp; option logasap<br/> &nbsp; &nbsp; &nbsp; option forwardfor &nbsp;<br/>server web181 192.168.10.181:80 cookie app1inst1 check inter 2000 rise 2 fall 5<br/>server web182 192.168.10.182:80 cookie app1inst2 check inter 2000 rise 2 fall 5<br/>工作正常，能够根据URL的不同，而转发到不同的后台服务器上，但是就是不记录日志。<br/>如果加-d参数启动haproxy的话，在前段是有信息的，但是就是不记录日志，至于网上流传的：<br/>syslog.conf里加一行<br/>local3.* &nbsp; &nbsp; &nbsp; &nbsp; /var/log/haproxy.log<br/># touch /var/log/haproxy.log<br/># chown haproxy:haproxy /var/log/haproxy.log<br/># chmod u+x /var/log/haproxy.log<br/>也都试过，可是/var/log/haproxy.log就是不记录日志，不知道为什么？<br/>楼主能否指点一下?非常感谢！<br/>xxdtpyy@tom.com
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment3065</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>Max &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 20 Apr 2009 13:22:41 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment3065</guid> 
<description>
<![CDATA[ 
	Radware?
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment6202</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>higkoo &lt;higkoo@tom.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 21 Jun 2010 15:31:13 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment6202</guid> 
<description>
<![CDATA[ 
	你好！<br/><br/>我在使用LVS的时候并没有如上介绍那么好的性能，而且很不理想。<br/><br/>我把整个调优过程都记录下来了，希望您有空帮小弟指点迷津：<br/><br/><a href="http://hi.baidu.com/higkoo/blog/item/f8943c60d16843d28cb10d17.html" target="_blank">http://hi.baidu.com/higkoo/blog/item/f8943c60d16843d28cb10d17.html</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment9210</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>cnrainbing &lt;fengbb@lenovo-cw.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 31 Aug 2011 08:08:01 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment9210</guid> 
<description>
<![CDATA[ 
	张老师你怎么不用LVS（Linux Virtual Server）+Nginx实现负载呢？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment18826</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>coach factory outlet &lt;fgf@hotmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 17 May 2012 03:12:36 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment18826</guid> 
<description>
<![CDATA[ 
	Today, following half a century, mentor leather-bases <a href="http://www.coachfactoryoutletao.net" target="_blank">coach factory outlet</a> continues to be the delicate craft of leather-based master is accountable for,Would you like to meet more friends, or go with the times? If yes, <a href="http://www.coachfactoryoutletao.net" target="_blank">coach factory online</a> is opening welcome doors to you.in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our <a href="http://www.coachfactoryoutletao.net" target="_blank">coach factory outlet online</a> store to choose one.
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment18827</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>louis vuitton sale &lt;fgf@hotmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 17 May 2012 03:12:44 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment18827</guid> 
<description>
<![CDATA[ 
	Louis Vuitton belt at <a href="http://www.louisvuittonoutletsalea.com" target="_blank">louis vuitton sale</a> is one kind of fashion accessory with high cost performance among the Louis Vuitton accessories.Offering quality LV products with favorable prices, <a href="http://www.louisvuittonoutletsalea.com" target="_blank">louis vuitton outlet</a> store is at your service. Hurry up, or you can not seize the chance.in fact, <a href="http://www.louisvuittonoutletsalea.com" target="_blank">louis vuitton</a> is one of the most famous fashion design master.he opened the fist suitcase shop called after his name.
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment18828</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>coach outlet online &lt;fgf@hotmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 17 May 2012 03:12:51 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment18828</guid> 
<description>
<![CDATA[ 
	I heard of <a href="http://www.coachoutletonlineao.net" target="_blank">coach outlet online</a> through the advertisement when I was shopping. And now I often brow the webpage and buy Coach bags online.It is a symbol regarding position not to mention nature.Here I would like to launch a excellent bags pertaining to business men.Which may be <a href="http://www.coachoutletonlineao.net" target="_blank">coach outlet store</a>.<a href="http://www.coachoutletonlineao.net" target="_blank">coach outlet</a> has always been simple,durable style features to win consumers.The products are more flexible,with easy bleaching,wear characteristics,and simply use a damp cloth.
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment18829</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>coach outlet, &lt;fgf@hotmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 17 May 2012 03:12:59 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment18829</guid> 
<description>
<![CDATA[ 
	Remember the <a href="http://www.coachoutletin.org" target="_blank">coach outlet</a> provide coach bags which won&#039;t be deteriorated into its overall styles by any means. It will maintain its looks, colors, and uniqueness for long time.<a href="http://www.coachoutletin.org" target="_blank">coach outlet store online</a> has been voted by Hour Detroit magazine readers as the Best of Detroit in their 12th annual readers&#039;poll.Lots of women like which usually amount normally include a <a href="http://www.coachoutletin.org" target="_blank">coach outlet online</a> ,it provides coziness to many girls that don&#039;t even think it is a great bushel of great interest directly to them.
]]>
</description>
</item><item>
<link>http://zyan.cc/post/307/#blogcomment19935</link>
<title><![CDATA[[评论] 我所熟悉的网站负载均衡技术[原创]]]></title> 
<author>xujie777 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 18 May 2012 08:08:33 +0000</pubDate> 
<guid>http://zyan.cc/post/307/#blogcomment19935</guid> 
<description>
<![CDATA[ 
	We aim to make all our customers satisfy with our products. You will find a variety of Men&#039;s fashion <a href="http://www.louisvuittonukd.org.uk" target="_blank">louis vuitton uk</a>, fashion Women&#039;s cheap Louis Vuitton bags in our store at affordable price.Thinking of interesting ways to cost a milestone birthday? <a href="http://www.louisvuittonukd.org.uk" target="_blank">louis vuitton online shop</a> had one of the most distinctive distinctive celebrations.bakery along with living room operated by means of about three moment <a href="http://www.louisvuittonukd.org.uk" target="_blank">louis vuitton online</a> Most effective Pastry Chef’s of the year Rammy Nominee Chef’s.
]]>
</description>
</item>
</channel>
</rss>