<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 某分布式应用实践一致性哈希的一些问题</title>
	<atom:link href="http://timyang.net/architecture/consistent-hashing-practice/feed/" rel="self" type="application/rss+xml" />
	<link>http://timyang.net/architecture/consistent-hashing-practice/</link>
	<description>Tim&#039;s blog, 关于后端架构、互联网技术、分布式、大型网络应用、NoSQL、Key Value等</description>
	<lastBuildDate>Fri, 30 Jul 2010 12:46:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: faryang</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-4387</link>
		<dc:creator>faryang</dc:creator>
		<pubDate>Thu, 01 Jul 2010 16:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-4387</guid>
		<description>存用户位置的MEMCACHE挂掉怎么办？</description>
		<content:encoded><![CDATA[<p>存用户位置的MEMCACHE挂掉怎么办？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-4146</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 21 May 2010 01:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-4146</guid>
		<description>AFAIK， buddy replication只是一个jboss中一个术语 https://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/cache/Tree_Cache_Guide/Clustered_Cache___Using_Replication-Buddy_Replication.html  意思是用户session数据可以只复制到少数几台机，和本文并没有直接可比性。</description>
		<content:encoded><![CDATA[<p>AFAIK， buddy replication只是一个jboss中一个术语 <a href="https://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/cache/Tree_Cache_Guide/Clustered_Cache___Using_Replication-Buddy_Replication.html" rel="nofollow">https://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/cache/Tree_Cache_Guide/Clustered_Cache___Using_Replication-Buddy_Replication.html</a>  意思是用户session数据可以只复制到少数几台机，和本文并没有直接可比性。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bright</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-4143</link>
		<dc:creator>bright</dc:creator>
		<pubDate>Thu, 20 May 2010 14:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-4143</guid>
		<description>是对buddy replication的改进思路吗？</description>
		<content:encoded><![CDATA[<p>是对buddy replication的改进思路吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crackcell</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-3319</link>
		<dc:creator>crackcell</dc:creator>
		<pubDate>Tue, 02 Mar 2010 02:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-3319</guid>
		<description>兄台能否透露下最后的解决方案，我也遇到了类似的问题，希望能借鉴一下前人的经验。</description>
		<content:encoded><![CDATA[<p>兄台能否透露下最后的解决方案，我也遇到了类似的问题，希望能借鉴一下前人的经验。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NoSQL数据库知识图 &#124; Jerry Mouse</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-3025</link>
		<dc:creator>NoSQL数据库知识图 &#124; Jerry Mouse</dc:creator>
		<pubDate>Sat, 13 Feb 2010 04:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-3025</guid>
		<description>[...] 附1. 一致性哈希分布 [...]</description>
		<content:encoded><![CDATA[<p>[...] 附1. 一致性哈希分布 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-2980</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 09 Feb 2010 13:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-2980</guid>
		<description>上面这篇文章相关consistent hashing问题实际已经解决了，在实际环境运行得还不错，至少上线之后几乎不用为单点故障担心了。相关细节也在前几篇comments里面差不多都有表达。由于后续实践解决思路相比dynamo思想也无新的建树，所以就没专门写文描述了。

fcicq: 你的方案实际跟我的第二阶段相似，存在发生单点故障时候，(1)备份节点负载过大的问题，另外(2)如果node0和node5都crash了系统就会部分(20%)用户服务不可用。而用consistent hashing则不存在上述2个缺陷。</description>
		<content:encoded><![CDATA[<p>上面这篇文章相关consistent hashing问题实际已经解决了，在实际环境运行得还不错，至少上线之后几乎不用为单点故障担心了。相关细节也在前几篇comments里面差不多都有表达。由于后续实践解决思路相比dynamo思想也无新的建树，所以就没专门写文描述了。</p>
<p>fcicq: 你的方案实际跟我的第二阶段相似，存在发生单点故障时候，(1)备份节点负载过大的问题，另外(2)如果node0和node5都crash了系统就会部分(20%)用户服务不可用。而用consistent hashing则不存在上述2个缺陷。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fcicq</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-2977</link>
		<dc:creator>fcicq</dc:creator>
		<pubDate>Tue, 09 Feb 2010 10:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-2977</guid>
		<description>Replication with Consistent Hash Rotation.

Example:
node 0 replicate to node 5, 1 to 6 ... f to 4.
in CRC32, just add 0xffffffff / 3 = 0x55555555 to the hash &amp; you got the slave node.
(Why / 3 not / 2 ?)

you know (2 nodes) Tokyo Cabinet, memory(master) -&gt; db file(slave, compressed?).
Just Need Some Hacking. haha.</description>
		<content:encoded><![CDATA[<p>Replication with Consistent Hash Rotation.</p>
<p>Example:<br />
node 0 replicate to node 5, 1 to 6 &#8230; f to 4.<br />
in CRC32, just add 0xffffffff / 3 = 0&#215;55555555 to the hash &amp; you got the slave node.<br />
(Why / 3 not / 2 ?)</p>
<p>you know (2 nodes) Tokyo Cabinet, memory(master) -&gt; db file(slave, compressed?).<br />
Just Need Some Hacking. haha.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilbert</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-2975</link>
		<dc:creator>gilbert</dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-2975</guid>
		<description>我感觉你这个需求如果想解决，最终还是要进行多种方案的tradeoff，而tradeoff的根据就是尽量支持优先级高的需求，例如稳定性，或者性能。由于这些涉及到很多细节，估计讨论很难深入下去了~~~</description>
		<content:encoded><![CDATA[<p>我感觉你这个需求如果想解决，最终还是要进行多种方案的tradeoff，而tradeoff的根据就是尽量支持优先级高的需求，例如稳定性，或者性能。由于这些涉及到很多细节，估计讨论很难深入下去了~~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: csh</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-2974</link>
		<dc:creator>csh</dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-2974</guid>
		<description>我是不是可以这么理解，您的这个管session的进程其实相当于 memcached+session操作逻辑，也就是原本在使用memcached场景中，远程业务层的操作逻辑放到这个管session的进程中，并且在session的分布上使用了vnode?</description>
		<content:encoded><![CDATA[<p>我是不是可以这么理解，您的这个管session的进程其实相当于 memcached+session操作逻辑，也就是原本在使用memcached场景中，远程业务层的操作逻辑放到这个管session的进程中，并且在session的分布上使用了vnode?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timyang.net/architecture/consistent-hashing-practice/comment-page-1/#comment-2973</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=408#comment-2973</guid>
		<description>如果按你所说多进程的方式的话是需要加业务逻辑。
不过我的是单进程多线程，session只是一个数据结构，比如好友列表/黑名单/隐私设置等业务数据，当然由于多线程访问需要加同步锁保护才能访问，不过这些就说远了。
另外如果多进程我觉得用share memory方式更方便，用erlang轻量级进程语言的话用ets(memory db)也比用message传递要好。</description>
		<content:encoded><![CDATA[<p>如果按你所说多进程的方式的话是需要加业务逻辑。<br />
不过我的是单进程多线程，session只是一个数据结构，比如好友列表/黑名单/隐私设置等业务数据，当然由于多线程访问需要加同步锁保护才能访问，不过这些就说远了。<br />
另外如果多进程我觉得用share memory方式更方便，用erlang轻量级进程语言的话用ets(memory db)也比用message传递要好。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
