DNS轮循
  DNS轮循是指将相同的域名解释到不同的IP,随机使用其中某台主机的技术。但其具有明显的缺点:一旦某个服务器出现故障,即使及时修改了DNS设置,还是要等待足够的时间(刷新时间)才能发挥作用,在此期间,保存了故障服务器地址的客户计算机将不能正常访问服务器。DNS负载均衡采用的是简单的轮循负载算法,不能区分服务器的差异,不能反映服务器的当前运行状态,不能做到为性能较好的服务器多分配请求,甚至会出现客户请求集中在某一台服务器上的情况。

  F5 BIG-IP
点击在新窗口中浏览此图片  简介:F5 Networks 公司的著名硬件负载均衡交换机。支持硬件四层、七层交换。不同的型号性能不同,BIG-IP 6400可以支持800万条并发连接,低一点型号的可以支持400万条以上的并发连接。性能极高,但价格也不菲。
  价格:BIG-IP 6400的价格在16万元人民币左右。
  网址:http://www.f5.com.cn/(中国) http://www.f5.com/(全球)

  LVS(Linux Virtual Server)
  简介:软件四层交换。LVS是在Linux内核中作四层交换,只花128个字节记录一个连接信息,不涉及到文件句柄操作,故没有65535最大文件句柄数的限制。LVS性能很高,可以支持100~400万条并发连接。
  价格:免费、开源
  网址:http://zh.linuxvirtualserver.org/

  L7SW(Layer7 switching)
  简介:软件七层交换。这是一款类似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.
  价格:免费、开源
  网址:http://www.linux-l7sw.org/

  HAProxy
  简介:软件七层交换,反向代理服务器。目前还不支持虚拟主机,但其配置简单,拥有非常不错的服务器健康检查功能,当其代理的后端服务器出现故障,HAProxy会自动将该服务器摘除,故障恢复后再自动将该服务器加入。另外,HAProxy还支持双机热备。我曾经用过一段时间,能支持2~3万条并发连接。现在我用它做普通的小并发负载均衡,主要用到的是它的服务器健康检查功能。
  价格:免费、开源
  网址:http://haproxy.1wt.eu/

  Nginx
  简介:软件七层交换,反向代理服务器。能够很好地支持虚拟主机,可配置性很强,可以按URL做负载均衡。我目前一直在用,大约能支持3~5万条并发连接。
  价格:免费、开源
  网址:http://wiki.codemongers.com/NginxChs(中文维基)




技术大类 » 其他Unix技术 | 评论(46) | 引用(1) | 阅读(76698)
我所熟悉的网站负载均衡技术
[2007-11-2 22:46]
来源:Hugo.Leens 生活流水账
内容:转自 http://blog.s135.com/read.php/307.htm 了解目前流行的负载均衡技术 对于有钱的公司来说,硬件看来是最好的选择~ 看上去软件方式的LVS堪比硬件水平哦~ 估计配置起来要麻烦的多,不然低端的负载均衡交换机硬件还卖得出去么…… 莫非真的是中国人喜欢花钱买放心…… Nginx并发数比不上LVS,为啥不用LVS嗫?配置问题?还是服务器硬件档次问题……又或者是需求……所谓合适就好……   DNS轮循  DNS轮循是指将相同的域名解释到不同的I...
mysuso Homepage
2007-11-5 10:08
F5一般有谁在用,grin
张宴 回复于 2007-11-5 16:55
我们就在用。
outrace
2007-11-6 19:02
请问楼主HAProxy测试的数据是哪个版本的
因为目前haproxy更新很快。

另外请问一下,lvs的测试数据,是使用lvs文档中介绍的3种IP负载均衡中的那种方式的测试结果
nat ? / ip tun ? / dr
另外我看lvs提供下载的源代码都好老了。不太放心哦。

最近正在学习这些。还请楼主赐教。
张宴 回复于 2007-11-7 22:43
用的是 HAProxy 1.2.17 版本。
LVS nat
jackbillow Email
2007-11-14 15:13
以前HAproxy性能有些问题,现在应该好多了。:)
jackbillow Email
2007-11-14 15:26
对了,alteon也用的很多,我一个朋友,他们就是用的alteon。163和我们一个方案一样,用的是crescendo(cn-5000),这个设备也不错。
huicong7788 Email
2008-9-1 16:56
你好,我最近熟悉负载均衡。你那有相关资料吗?麻烦你给我发一份。邮箱:zhxsh@vip.qq.com
张宴 回复于 2008-9-1 20:38
http://blog.s135.com/read.php/346.htm

http://blog.s135.com/read.php/348.htm
xxdtpyy Email
2009-2-17 19:52
版主,您好:
        如果有时间的话,能否请教一个haproxy相关的问题?我现在测试用的版本是1.3.15.6的,配置文件如下:

maxconn 5120
#       log 192.168.10.180 local3 info
       log 127.0.0.1   local1 notice
       uid 501
       gid 502
       daemon
       quiet
       nbproc  2  
       pidfile /var/run/haproxy-private.pid
defaults
       mode    http
       option  httplog
       option  dontlognull
#       log 127.0.0.1 local3
       retries 3
       redispatch
       maxconn 2000
       contimeout      5000
       clitimeout      50000
       srvtimeout      50000

listen webfarm  192.168.10.180:80
      mode http
      stats enable
      balance  uri    
#      dispatch 192.168.10.180:80
#      cookie SERVERID insert indirect
      log global
      option httplog
      option logasap
      option forwardfor  
server web181 192.168.10.181:80 cookie app1inst1 check inter 2000 rise 2 fall 5
server web182 192.168.10.182:80 cookie app1inst2 check inter 2000 rise 2 fall 5
工作正常,能够根据URL的不同,而转发到不同的后台服务器上,但是就是不记录日志。
如果加-d参数启动haproxy的话,在前段是有信息的,但是就是不记录日志,至于网上流传的:
syslog.conf里加一行
local3.*         /var/log/haproxy.log
# touch /var/log/haproxy.log
# chown haproxy:haproxy /var/log/haproxy.log
# chmod u+x /var/log/haproxy.log
也都试过,可是/var/log/haproxy.log就是不记录日志,不知道为什么?
楼主能否指点一下?非常感谢!
xxdtpyy@tom.com
Max
2009-4-20 21:22
Radware?
higkoo Email Homepage
2010-6-21 23:31
你好!

我在使用LVS的时候并没有如上介绍那么好的性能,而且很不理想。

我把整个调优过程都记录下来了,希望您有空帮小弟指点迷津:

http://hi.baidu.com/higkoo/blog/item/f8943c60d16843d28cb10d17.html
cnrainbing Email
2011-8-31 16:08
张老师你怎么不用LVS(Linux Virtual Server)+Nginx实现负载呢?
coach factory outlet Email Homepage
2012-5-17 11:12
Today, following half a century, mentor leather-bases coach factory outlet 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, coach factory online 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 coach factory outlet online store to choose one.
louis vuitton sale Email Homepage
2012-5-17 11:12
Louis Vuitton belt at louis vuitton sale is one kind of fashion accessory with high cost performance among the Louis Vuitton accessories.Offering quality LV products with favorable prices, louis vuitton outlet store is at your service. Hurry up, or you can not seize the chance.in fact, louis vuitton is one of the most famous fashion design master.he opened the fist suitcase shop called after his name.
coach outlet online Email Homepage
2012-5-17 11:12
I heard of coach outlet online 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 coach outlet store.coach outlet 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.
coach outlet, Email Homepage
2012-5-17 11:12
Remember the coach outlet provide coach bags which won't be deteriorated into its overall styles by any means. It will maintain its looks, colors, and uniqueness for long time.coach outlet store online has been voted by Hour Detroit magazine readers as the Best of Detroit in their 12th annual readers'poll.Lots of women like which usually amount normally include a coach outlet online ,it provides coziness to many girls that don't even think it is a great bushel of great interest directly to them.
xujie777 Email
2012-5-18 16:08
We aim to make all our customers satisfy with our products. You will find a variety of Men's fashion louis vuitton uk, fashion Women's cheap Louis Vuitton bags in our store at affordable price.Thinking of interesting ways to cost a milestone birthday? louis vuitton online shop had one of the most distinctive distinctive celebrations.bakery along with living room operated by means of about three moment louis vuitton online Most effective Pastry Chef’s of the year Rammy Nominee Chef’s.
xujie777 Email
2012-5-18 16:08
The choices are likely to be basically countless seeing that louis vuitton outlet occurs with the help of completely new and also incredible concepts once in a while.Louis vuitton Wholesale Monogram Canvas HandbagsLouis Vuitton Collection Beach Handbags louis vuitton bags outlet Damier Canvas HandbagsLouis vuitton Mahina HandbagsLouis Vuitton Monogram Mini Lin HandbagsLouis Vuitton Monogram Multicolore HandbagsLouis vuitton Monogram Vernis HandbagsLouis Vuitton Wholesale Epi Leather HandbagsLouis Vuitton For Men HandbagsLouis Vuitton Damier Canvas WalletsLouis Vuitton Epi Leather WalletsLouis Vuitton Monogram Canvas WalletsLouis Vuitton Monogram Vernis WalleLouis Vuitton ShoesLouis Vuitton Men wallets.As the Authentic Louis Vuitton are so high-priced, so came the louis vuitton handbags outlet.
xujie777 Email
2012-5-18 16:08
coach outlet has become a popular shopping experience for consumers around the world, and a desirable distribution channel for manufacturer's and retailers.Getting your hands on coach outlet store online can be a hefty investment of hundreds of dollars.But do not despair,the Coach Outlet store could be the answer to your prayers.coach outlet online is your smart choice when you want to get the discount Coach accessory. You can find the exact Coach Bags and other accessory you want at a low price that's right for you. My dear friends, let the coach outlet online pave your way into the world of high fashion with their ultimate fashion factory.
Louis Vuitton UK Email Homepage
2012-5-19 16:07
Louis Vuitton UK are diversified in various kinds, handbags, backpacks, portable bags, purses, wallets and pouches. All kinds are popular among the whole word people.That publication was the only French periodical to mention the book, Louis Vuitton is the country's biggest advertiser in the press. 
Louis Vuitton Email Homepage
2012-5-19 16:16
During World War II, Louis Vuitton collaborated with the Nazis during the German occupation of France.I know someone has already sent you some photo's of the amazing Marc Jacobs/Louis Vuitton UK exhibition at the Musee Des Arts Decoratifs but I just had to share with you the day I had today . 
Coach  Outlet Email Homepage
2012-5-19 16:33
Coach Outlet has distribution, product development, and quality control operations in the United States, France, Italy, Japan, Hong Kong, China, and South Korea.Lewis Frankfort has been involved with Coach for more than 30 years.Metro Rail and ICF engineers are working to address this general problem.  The Coach Outlet Canada provides primarily for the Indian Railways, a number of different coaches - first and second class coaches, pantry and kitchen cars, luggage and brake vans, self propelled coaches. 
分页: 1/3 第一页 1 2 3 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]