educative.io

How did you get10^16 bytes or 50 PB based on the description?

Could you explain how did you get this computation 100 * 10^12​​ * 500 = 5 * 10^16 bytes or 50 PB?
Thanks!
(it’s in 4. Calculation and estimation in the chapter Ad Click Prediction 3rd part Ads Recommending System Design.)

Thanks!

Hello @kuailema9089,

This calculation is no doubt a bit confusing. Let me simplify it for you.

  1. Let’s first multiply 100 with 500, so we get 50,000, equal to 5*10^4.
  2. After that, we have 5 * 10^4 * 10^12 and when the bases are the same, then powers add (basic mathematics rule)
  3. By applying that mathematical rule, we have 5 * 10^16. And we call 10^15 Peta according to the metric system.
  4. 5 * 10^16 = 50,000,000,000,000,000 which is also equal to 50 * 10^15 and we can say it 50 PB (Petabytes).

I hope I have answered your query; please let me know if you still have any confusion.

Thank You :blush: