educative.io

P2P vs. Client-Server

Hello,

In a client-server model, the rate at which a client can download a file is limited by the min( a , b ). Could you please elaborate on why min(a,b) is the answer along with an example?

Regards.


Type your question above this line.

Course: https://www.educative.io/collection/10370001/6105520698032128
Lesson: https://www.educative.io/collection/page/10370001/6105520698032128/6125642808557568

I believe It should be max(a, b) instead of min(a, b) as the client can’t fully download a file unless it has been fully uploaded by the server as mentioned in client-server section

But why is it max(a, b) and not a + b? We can’t download a file if it has not been uploaded yet, so if we need a amount of time to upload it and b amount of time to download it, it should be a + b.

3 Likes

I have the same question. Did you figure it out in the end?


Course: https://www.educative.io/collection/10370001/6105520698032128
Lesson: https://www.educative.io/collection/page/10370001/6105520698032128/6125642808557568