开发者

P2P vs DDNS ? What should be used?

I'm trying to build开发者_如何学编程 a multi-client/multi-server application

Clients includes computers, smartphones, .. etc

So they could be with static or dynamic IPs or behind firewalls or NATs .. etc I have already implement both peer-to-peer & dynamic DNS topologies as just for enjoying coding :)

PNRP used in P2P , my implementations are as wpf/wcf services To be honest it's my collage project

but here I stopped as a question :

Which implementation to use ? P2P or DDNS :(

Advantages , Disadvantages & your opinions ?

HTH ,, Regards, :)

Note:

If this question is duplicated , I'm sorry :( but I really searched it here 7 didn't find it , so please point me to it :) , thanks


Both approaches are valid. However DDNS is not full solution. It solves only one part of the problem, that is, matching a peer with a temporary IP address. You would still have to solve at least NAT traversal issues (see TURN and STUN solutions) and locations of peers.

There is also another issue with DNS, propagation of information is slow. When P2P exploded around Y2K, many refused to use DNS because of performance. They wanted something faster. Considering that P2P networks can be made of millions of devices changing of IP address at anytime, this would be unbearable for DNS.

On the good side, DDNS is helpful if you want to set-up a couple of stable SUPER-peers. They can be used to facilitate the organization of your P2P network.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜