Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did some ridiculous napkin math. A random URL I pulled from a Google search was 705 bytes. A googl link is 22 bytes but if you only store the ID, it'd be 6 bytes. Some URLs are going to be shorter, some longer, but just ballparking it all, that lands us in the neighborhood of hundreds of billions of URLs, up to trillions of URLs.


> A random URL I pulled from a Google search was 705 bytes.

705 bytes is an extremely long URL. Even if we assume that URLs that get shortened tend to be longer than URLs overall, that’s still an unrealistic average.


It is long, it represents the lower hundreds of billions bound in my awful napkin math.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: