educative.io

Bandwidth Calculation

can you explain the calculation of the following bandwidth:

incoming bandwidth:
12.51TB = 12510GB
seconds in a day 86400
incoming bandwidth = 12510/86400 = 0.144GB/sec

Similarly for outgoing bandwidth:
(5000000x20x50)/86400 = 57.87GB/sec


Course: Grokking Modern System Design Interview for Engineers & Managers - Learn Interactively
Lesson: Requirements of a Blob Store's Design - Grokking Modern System Design Interview for Engineers & Managers

Hi @rachna_rajput !!
Thanks for reaching out to us. Here, for Incoming bandwidth, we are converting TB to Gb, not GB.
Total storage per day= 12.51 TB= (12.51* 1000*8) Gb = 100080 Gb
Seconds in a day = 86400
Incoming bandwidth = 100080/86400 = 1.16 Gb/sec

Similarly, for outgoing bandwidth, we are converting MB to Gb:
No of active users per day=5000000
No of requests per user= 20
Data size =50 MB = (50 /1000)*8= 0.4 Gb
Seconds in a day = 86400
Outgoing bandwidth = (5000000x20x0.4)/86400 = 462.96 Gb/sec
I hope it helps. Happy Learning :slight_smile:

1 Like