Live data from Hacker News

Icanhazip: A simple IP address tool survived a deluge of users (2021)

blog.apnic.net

1–10 of 146 posts

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#4

tl;dr: Bought by Cloudflare.

> Their sponsorship of icanhazip.com has saved me tens of thousands of dollars per month.

Can someone please explain how does returning a few hundred bytes of plaintext response can cost thousands of dollars? Either I'm really bad at estimating things or there's some hidden cost somewhere I'm not seeing.

Also why could it not work fine behind a Cloudflare free tier?

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#6
post #4

tl;dr: Bought by Cloudflare.

> Their sponsorship of icanhazip.com has saved me tens of thousands of dollars per month. Can someone please explain how does returning a few hundred bytes of plaintext response can cost thousands of dollars? Either I'm really bad at estimating things or there's some hidden cost somewhere I'm not seeing. Also why could it not work fine behind a Cloudflare free tier?

> In 2021, the traffic I once received in a month started arriving in 24 hours. The site went from a billion requests per day to 30-35 billion requests per day over a weekend.

30 billion times 350 bytes (size of my response) is equal to 10.5 terabytes (base-10) a day. 84 terabits per day, 84000/3600/24 ~= 1 gigabit if my math is right. A fully saturated 1 gigabit pipe of worldwide internet costs a lot. So, there.

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#7
post #4

tl;dr: Bought by Cloudflare.

> Their sponsorship of icanhazip.com has saved me tens of thousands of dollars per month. Can someone please explain how does returning a few hundred bytes of plaintext response can cost thousands of dollars? Either I'm really bad at estimating things or there's some hidden cost somewhere I'm not seeing. Also why could it not work fine behind a Cloudflare free tier?

It mentions 2 petabytes of data per month, plus compute for a trillion requests per month. It sounds like all kinds of optimizations were made so probably it can’t be much cheaper. My guess is that the “tens of thousands” is calculated on CF Workers prices though.

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#8
A great tool I’ve used countless times after learning about it while working at Rackspace a decade ago . It was great to learn about how it’s grown over the years, what an ordeal!

Cloudflare is at the top of the list of custodians I would want if in a similar position, glad it’s found a new steward.

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#9
post #4

Earlier quoted context omitted.

> Their sponsorship of icanhazip.com has saved me tens of thousands of dollars per month. Can someone please explain how does returning a few hundred bytes of plaintext response can cost thousands of dollars? Either I'm really bad at estimating things or there's some hidden cost somewhere I'm not seeing. Also why could it not work fine behind a Cloudflare free tier?

> In 2021, the traffic I once received in a month started arriving in 24 hours. The site went from a billion requests per day to 30-35 billion requests per day over a weekend. 30 billion times 350 bytes (size of my response) is equal to 10.5 terabytes (base-10) a day. 84 terabits per day, 84000/3600/24 ~= 1 gigabit if my math is right. A fully saturated 1 gigabit pipe of worldwide internet costs a lot. So, there.

[flagged]

Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)

#10
post #9

Earlier quoted context omitted.

> In 2021, the traffic I once received in a month started arriving in 24 hours. The site went from a billion requests per day to 30-35 billion requests per day over a weekend. 30 billion times 350 bytes (size of my response) is equal to 10.5 terabytes (base-10) a day. 84 terabits per day, 84000/3600/24 ~= 1 gigabit if my math is right. A fully saturated 1 gigabit pipe of worldwide internet costs a lot. So, there.

[flagged]

Go read TFA?
Post reply on HN