質問

I have a group of 100 clients around the globe, that need to communicate between then self, fast. Each message that each of the clients sends needs to be broadcasted to everyone. The messages will be between 1 to 16 MB. Each client is expected to send one message every half minute.

I was thinking of a tree structure and then using p2p connections, but then it slows down the system.

Another idea that I had is using email protocol(this is where the cheap part come into the picture). There are many email providers that already have a good distribution of servers and can help achieving this task. So it might be cheaper using those solutions.

What will be a good solution to my problem? A cheap fast and reliable way to communicate with 100 clients.

I guess that my biggest concern is that I don't want to build a system and later find out that it takes minutes to deliver a message. Performance is my most important parameter and I need a fest solution.

  • scale is not a consideration at the moment
役に立ちましたか?

解決

Its the classic triangle problem. you want:

cheap fast and reliable

But you have to sacrifice at least one.

reliability: You could sneakily use other peoples bandwidth by leveraging free tier services such as email distribution lists or dropbox/google drive/amazon free accounts

But you would soon hit the various controls to stop people abusing the services and suffer an outage until you had developed a new trick.

speed: You can use the clients connection via a p2p network, but unless they all have lots of bandwidth, speed will suffer.

cost: You can pay for the bandwidth on a centralised service and have both speed and reliability. But it will be expensive

ライセンス: CC-BY-SA帰属
所属していません softwareengineering.stackexchange
scroll top