<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>月影鹏鹏 &#187; 集群</title>
	<atom:link href="http://jk.aiwaly.com/wp/tag/%e9%9b%86%e7%be%a4/feed" rel="self" type="application/rss+xml" />
	<link>http://jk.aiwaly.com</link>
	<description>不断探索,追求卓越,做快乐自己</description>
	<lastBuildDate>Thu, 29 Mar 2012 01:09:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>基于debian etch 的xen集群。</title>
		<link>http://jk.aiwaly.com/wp/%e5%9f%ba%e4%ba%8edebian-etch-%e7%9a%84xen%e9%9b%86%e7%be%a4%e3%80%82.html</link>
		<comments>http://jk.aiwaly.com/wp/%e5%9f%ba%e4%ba%8edebian-etch-%e7%9a%84xen%e9%9b%86%e7%be%a4%e3%80%82.html#comments</comments>
		<pubDate>Tue, 01 Dec 2009 03:28:59 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[cluster(集群)]]></category>
		<category><![CDATA[虚拟化]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[集群]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1327</guid>
		<description><![CDATA[基于debian etch 的xen集群。
服务器操作系统  debian etch
通过DRBD 模拟盘阵镜像，有条件的最好用接磁盘阵列。
有兴趣可以尝试一下吧。
Xen Cluster Management With Ganeti On Debian Etch
http://www.howtoforge.com/ganeti_xen_cluster_management_debian_etch
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/%e5%9f%ba%e4%ba%8edebian-etch-%e7%9a%84xen%e9%9b%86%e7%be%a4%e3%80%82.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load Balancing （负载均衡）</title>
		<link>http://jk.aiwaly.com/wp/load-balancing-%ef%bc%88%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%ef%bc%89.html</link>
		<comments>http://jk.aiwaly.com/wp/load-balancing-%ef%bc%88%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%ef%bc%89.html#comments</comments>
		<pubDate>Mon, 12 May 2008 07:39:47 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[Architecture(架构)]]></category>
		<category><![CDATA[cluster(集群)]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[集群]]></category>

		<guid isPermaLink="false">http://www.yueying.com/wordpress/?p=9</guid>
		<description><![CDATA[基于Shared Nothing Architecture做Load Balancing，遵循REST的无状态模型，不用考虑Sticky Sessions
一、DNS Load Balancing
DNS Load Balancing是最简单的方式，它将相同域名解析到不同IP
由于TTL和缓存时间，DNS不能实时更新clusters的更改
DNS方式很难自定义配置balance策略
DNS方式对traffic的balance不准确，对特定地域而言DNS会将特定域名一直路由到一个IP上
DNS方式很难搞redundancy和failover
二、用硬件做Load Balancing
Alteon AS range(application switches)
Citrix Netscalers
Cisco CSS range(content-switching servers)
Foundry Networks ServerIron
商用产品的缺点就是贵
相比DNS方式，用硬件产品做Load Balancing很好的支持failover
三、用软件做Load Balancing
Perlbal
Pound
Nginx
LVS
幸好有免费开源软件
四、Layer 4 Load Balancing
即在OSI7层模型的第4层搞Load Balancing，也就是在Transport这层
最简单的方式是使用Round robin算法来做Load Balancing，Load Balancer捕获请求并分发到backendserver列表中的第一个server，并标记该Server为last used server，下次请求时则分发到下一个backendserver
五、Layer 7 Load Balancing
在Application这层搞Load Balancing，将HTTP请求headers纳入balancing策略考虑
HTTP请求URL本身就是Layer 7 Load Balancing的例子
可以在real server cluster之上搞一个Hash table作为Layer 7 LoadBalancing，访问某一特定的URL时分发到一个特定的realserver，这样对该特定server可以每次都命中特定的缓存而不用在每个real server都建立同样的缓存
Layer 7 Load Balancing对HTTP请求的解析开销很大，所以它的scalability相对Layer 4 Load Balancing而言有限
六，Huge-Scale Balancing
超级大型的应用我们需要GSLB(global server load balancing)来将负载balance到不同的Data Center，将客户端路由到最近的DC以保持最少的latency
Akamai EdgePlatform提供整合的服务
七、Balancing非HTTP的Traffic
例如email，由于SMTP与HTTP很类似，我们可以使用HTTP [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/load-balancing-%ef%bc%88%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%ef%bc%89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

