WCF是否支持对等实施? [英] Does WCF supports Peer-to-peer implementation?
问题描述
我正在尝试在LAN内实现对等消息传递和文件共享实用程序,那么WCF是否支持p2p?是否有人尝试通过WCF进行文件共享?
I'm trying to implement peer-to-peer messaging and file sharing utility within LAN, So does WCF supports p2p? Does any one tried file sharing trough WCF?
推荐答案
是的.请参阅如何在对等网络中设计状态共享:>
Yes, it does. Please see How To Design State Sharing In A Peer Network:
在研究各种方式时 哪个选举方案可能是 实施后,我发现那里 是WCF中的一个属性,它允许您 表示最大跳数 一个特定的消息将传播. 看到这个之后,它变得很明显 有一种分享的手段 不仅在对等网络中声明 不需要中央服务器,但是 对节点下降具有弹性,并且没有 需要选举.我称之为最近 对等同步.
When researching the various ways in which an election scenario might be implemented, I discovered that there is an attribute in WCF that allows you to indicate the maximum number of hops that a particular message will travel. After seeing this, it became obvious that there was a means for sharing state in a peer network that not only required no central server, but was resilient to node drop-off and did not require election. I call it Nearest Peer Synchronization.
这篇关于WCF是否支持对等实施?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!