←back to thread

628 points kiyanwang | 2 comments | | HN request time: 0.419s | source
Show context
notrealyme123 ◴[] No.43630255[source]
https://web.archive.org/web/20250409082704/https://endler.de...

Otherwise rate limited

replies(3): >>43630333 #>>43630385 #>>43630537 #
h1fra ◴[] No.43630385[source]
wondering how can a static blog can be rate limited :|
replies(4): >>43630389 #>>43630399 #>>43630403 #>>43630486 #
StrLght ◴[] No.43630486[source]
Cloudflare claims that Pages allow unlimited traffic [0]. So it seems like author is using Workers, probably on a free plan.

[0]: https://www.cloudflare.com/plans/developer-platform/

replies(1): >>43630520 #
jumperabg ◴[] No.43630520[source]
Why would you run your site on Workers instead of the static content hosting? Aren't the workers supposed to be used in case you must do computational work for requests, connect to a db, do some work etc... ?
replies(3): >>43630737 #>>43630739 #>>43631689 #
1. StrLght ◴[] No.43630739[source]
I got curious about it too, found that author actually did a write-up on that in 2020 [0]. I don't know that much about Workers, but it sounds like it's needed for analytics?

[0]: https://web.archive.org/web/20250328111057/https://endler.de...

replies(1): >>43637194 #
2. mre ◴[] No.43637194[source]
Author here. That's the answer.

Or at least it used to be the answer when I still cared about analytics. Nowadays, friends send me a message when they find my stuff on social media, but I long stopped caring about karma points. This isn't me humblebragging, but just getting older.

The longer answer is that I got curious about Cloudflare workers when they got announced. I wanted to run some Rust on the edge! Turns out I never got around to doing anything useful with it and later was too busy to move the site back to GH pages. Also, Cloudflare workers is free for 100k requests, which gave me some headroom. (Although I lately get closer to that ceiling during good, "non-frontpage" days, because of all the extra bot traffic and my RSS feed...)

But of course, the HN crowd just saw that the site was down and assumed incompetence. ;) I bury this comment here in the hope that only the people who care to hear the real story will find it. You're one of them because you did your own research. This already sets you apart from the rest.