PNRP - 它是如何运作的?
抱歉,如果这看起来是一个愚蠢的问题,但我实际上很难找到直接的答案。我知道 PNRP 是 MS 用于实现点对点的技术,但它实际上是如何工作的 - 我的意思是,我假设当您在全球云中注册您的地址时,它实际上是在联系 Microsoft 服务器以查找对等地址,然后将对等端点信息。
当假设全球只有 2 个对等点时,我仍然对如何在云中找到地址感到有点困惑。
...据我了解,必须有一个对等解析器来维护注册列表(假设一个全新的节点上线),然后它会提供要连接的最近邻居的地址。如果我选择使用服务/应用程序知道的地址或我假设使用微软运营的对等解析器的全球云,这可以是我拥有的中央服务器。
谢谢
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.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自维基百科页面:
这意味着他们的基础设施不是中心化的;没有“微软服务器”可问。打个比方,您向云询问路由信息,它会协作回答。
如果云中只有两台计算机,它们就会互相了解。
From the Wikipedia page:
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.
这是商品
http://msdn.microsoft.com/en-us/library/ ms731061.aspx
它涵盖了基础知识:
网格、节点、通道安全、解析器。
你的问题的答案就是解析器。您的程序可以在对等级别上进行协作,但它们需要中央服务器才能立即找到彼此。您将向服务器发布一个解析器,所有客户端都会使用它。
Here's the goods
http://msdn.microsoft.com/en-us/library/ms731061.aspx
It covers the basics:
Meshes, Nodes, Channel Security, Resolvers.
And the answer to your question is the resolver. Your programs can collaborate on a peer to peer level but they need central servers to find each other instantly. You would publish a resolver to your server and all the clients would use it.