1. 1、本文档共141页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
09-P2P系统

3. Structured P2P: DHT Approaches 118 □ DHT service and issues □ CARP □ Consistent Hashing □ Chord □ CAN □ Pastry Pastry (in truth) 123 □ Nodes are assigned a 128-bit identifier □ The identifier is viewed in base 16 ○ e.g., 65a1fc04 ○ 16 subgroups for each group □ Each node maintains a routing table and a leaf set ○ routing table provides delegate nodes in nested groups ○ inner group idea flawed: might be empty or have too many nodes Pastry: Routing procedure if (destination is within range of our leaf set) forward to numerically closest member else if (there’s a longer prefix match in table) forward to node with longest match else forward to node in table (a) shares at least as long a prefix (b) is numerically closer than this node 125 Pastry: Performance Integrity of overlay/ message delivery: guaranteed unless L/2 simultaneous failures of nodes with adjacent nodeIds Number of routing hops: No failures: log16 N expected During failure recovery: O(N) worst case, average case much better 126 127 Pastry: Experimental results Prototype implemented in Java deployed testbed (currently ~25 sites worldwide) Simulations for large networks Pastry: Proximity routing Assumption: scalar proximity metric e.g. ping delay, # IP hops a node can probe distance to any other node Proximity invariant: Each routing table entry refers to a node close to the local node (in the proximity space), among all nodes with the appropriate nodeId prefix. 131 Pastry: Routes in proximity space 132 134 Pastry: Locality properties 1) Expected distance traveled by a message in the proximity space is within a small constant of the minimum 2) Routes of messages sent by nearby nodes with same keys converge at a node near the source nodes 3) Among k nodes with nodeIds closest to the key, message likely to reach the node closest to the source node first 136 Pastry: Summary O(log N) routing steps (expected) O(log N) routing table size Network proximity routing END * 哈希结果的变化意味着当缓冲空间发生变化时,所有

文档评论(0)

asd522513656 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档