educative.io

Typeahead suggestion system bandwidth calculation

Hi,
If the incoming BW calculation = no. of chars (15) * no. of bytes (2) * number of queries (3.5B) * 8 bits / 86400 s
Then, shouldnt the outgoing BW be 10 (since we return 10 top recent/popular searches) * incoming BW making it 97.1 Mbps why the extra ( * 15) ?

Thank you.


Course: https://www.educative.io/collection/10370001/4941429335392256
Lesson: https://www.educative.io/collection/page/10370001/4941429335392256/6369391511339008

Hi @Smruthi_Manjunath, Thank you for contacting the Educative team with your query!

Each query consists of a maximum15 number of characters that’s why the outgoing BW includes 15 in it, Therefore, the outgoing bandwidth requirement would become the following: 15×10×9.7Mb/sec=1.46Gb/sec .

Please feel free to reply here if there is still some confusion.

Hope you have an amazing learning experience on Educative!

But the 15 for the characters is already included in the incoming BW.

If you just go by 15(characters) * 10 (no. of responses) * 3.5B * 8 bits/ 86400 s = 97.1Mbps

I think the extra 15 multiplier should not be present.

1 Like

Hi @Smruthi_Manjunath
We are very glad to see your keen interest. It is great seeing that our users coming up with betterments and good suggestions. We’ll look into it, your feedback is much appreciated.

Thank you!