|
Consider the following simplified BitTorrent scenario. There is a swarm of 128peers and, during the time in question, no peers join or leave the swarm. It takes a peer 1 unit of time to upload or download a piece, during which time it can only do one or the other. Initially, one peer has the whole file and the others have nothing. If the swarm’s target file consists of only 1 piece, what is the minimum time necessary for all the peers to obtain the file? Ignore all but upload/ download time. |
|||
Solution
Each and every peer will have the file after n time units
That means there is a swarm of 128 peers
Convert into 2 power
128=2 7
So
All the peers will have the file after 7 time units
During each time unit, each and every peer with the piece can transmit it to one peer without that piece
so number of peers with the piece doubles with each time unit
2 0 =1 at a time 0 unit
2 1=2 at a time 1 unit
2 2=4 at a time 2 unit
2 3=8 at a time 3 unit
2 4= 16 at a time 4 unit
2 5=32 at a time 5 unit
2 6=64 at a time 6 unit
up to
2 7=128 at a time 7 unit
--
all the best
Consider the following simplified BitTorrent scenario. There is a swarm of 128peers and, during the time in question, no peers join or leave the swarm. It takes a peer 1 unit of time to upload...
Consider the following simplified BitTorrent scenario. There is a swarm of 128peers and, during the time in question, no peers join or leave the swarm. It takes a peer 1 unit of time to upload or download a piece, during which time it can only do one or the other. Initially, one peer has the whole file and the others have nothing. If the swarm’s target file consists of only 1 piece, what is the minimum time necessary for all...
Using the book, write another paragraph or two: write 170
words:
Q: Compare the assumptions of physician-centered and
collaborative communication. How is the caregiver’s role different
in each model? How is the patient’s role different?
Answer: Physical-centered communication involves the specialists
taking control of the conversation. They decide on the topics of
discussion and when to end the process. The patient responds to the
issues raised by the caregiver and acts accordingly. On the other
hand, Collaborative communication involves a...