Question: 1. Peer-to-Peer File Distribution Ben Bitdiddle and Alyssa Hacker launch rival file distribution companies. Ben chooses a client-server architecture for his file distribution company.

1. Peer-to-Peer File Distribution Ben Bitdiddle and Alyssa Hacker launch rival file

1. Peer-to-Peer File Distribution Ben Bitdiddle and Alyssa Hacker launch rival file distribution companies. Ben chooses a client-server architecture for his file distribution company. Alyssa chooses a peer-to-peer architecture, in which both the server and the peers can participate in the file upload. Alyssa notices that while all the peers choose to download, only 10% of the peers actively upload, with the other 90% being free-riders. Ben's company has 1 million users and Alyssa's company has 10 million users, with each user having an upload rate of 100 kbps and a download rate of 1 Mbps. Both Ben and Alyssa have servers with upload rates of 100 Gbps. Assume all file sizes are 1 GBytes. Unit conversions: 1 Gbps = 10 bps, 1 Mbps = 106bps, 1 kbps = 103 bps, 1 GByte = (1024) bytes (i) Whose company, Ben or Alyssa's will have the minimum distribution time to distribute a file to all clients? Show your calculations. (ii) What would the minimum distribution time be with no free riders in Alyssa's company? 2. Distributed Hash Table After a year of running her peer-to-peer file distribution company, Alyssa notices that file lookup through her central server is becoming extremely slow. Alyssa reads a research paper on distributed hash tables and decides to emulate the functionality of a BitTorrent tracker using a distributed hash table. After learning how knowledgeable you are about DHTs, she hires you as a consultant to design and implement a DHT tracker for her. (i) How would (ii) Who would (iii) What would (iv) How would you design the DHT? be the peers? be the keys, and the value stored for each key? you bootstrap the system? 3. DNS Alyssa Hacker thinks that DNS works by having each DNS server forward a query it can't answer to its parent until the query lands at a server that can answer it. Ben Bitdiddle disagrees with her and shows her how DNS works. Describe how Alyssa's version of DNS differs from the way DNS works. Given DNS Alussa, a DNS system that works as Alyssa described it, and DNSBen, an actual DNS system, which is better: DNSBen or DNSAlyssa? Justify your answer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

i To calculate the minimum distribution time for each company we need to consider the upload and download rates of the users and the server For Bens company clientserver architecture Number of users N... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!