PNRP - 它是如何工作的? [英] PNRP - How does it work?

查看:791
本文介绍了PNRP - 它是如何工作的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,如果这看起来像一个愚蠢的问题,但实际上很难找到一个直接的答案。我知道PNRP是MS的实现对等点的技术,但它实际上是如何工作 - 我的意思是im当你注册在全球云中的地址,它实际上是联系Microsoft服务器找到对等地址,然后交还对等端点信息。

Sorry if this seems like a stupid question but im actually having a hard time finding a straight answer. I know PNRP is MS's technology for implementing peer-to-peer but how does it actually work - i mean im assuming when you register your address in the global cloud that it is actually contacting a Microsoft server to find a peer address then handing back the peer endpoint info.

如果说地球上只有两个对等体,那么如何在云中找到地址仍然有点困惑。

Im a little confused still as to how addresses are found in the cloud when say there are only 2 peers located across the globe.

...从我的理解,有一个同行解析器维护一个注册列表(假设一个全新的节点上线),然后他的地址的最近的邻居连接到。这可以是我拥有的中央服务器,如果我选择使用服务/应用程序知道的地址或全球云,我假设使用微软操作的同行解析器。

... From what i understand there has to be a peer resolver to maintain a list of registrations (assuming a brand new node comes online) it then hands addresses of its closest neighbors to connect to. This can be a central server that I own if i choose to use an address the services/apps know about or the global cloud which i assume uses a peer resolver that microsoft operates.

感谢

推荐答案

Wikipedia page


PNRP使用架构
哈希表
系统如Chord或Pastry。
对等体名称被散列以产生
128位对等体标识符和
DHT -like算法用于检索
主机发布
标识符的位置。

Internally, PNRP uses an architecture similar to distributed hash table systems such as Chord or Pastry. The peer name is hashed to produce a 128-bit peer identifier, and a DHT-like algorithm is used to retrieve the location of the host publishing that identifier.

这意味着他们的基础设施不集中;有没有微软服务器问。隐喻上,你要求云提供路由信息,并且它协作回答。

This means their infrastructure is not centralized; there isn't "a Microsoft server" to ask. Metaphorically, you're asking the cloud for routing information, and it collaboratively answers.

如果云中只有两台计算机,他们都会知道彼此。

If there were only two computers in the cloud, they would both know about each-other.

这篇关于PNRP - 它是如何工作的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆