←back to thread

628 points kiyanwang | 9 comments | | HN request time: 1.219s | source | bottom
1. hk__2 ◴[] No.43630537[source]
The best programmers I know don’t use cheap hosting that rate-limit your static blog.
replies(5): >>43630579 #>>43630690 #>>43631030 #>>43631104 #>>43632893 #
2. amelius ◴[] No.43630579[source]
The best programmers I know always find programming challenges everywhere, and a rate limit function was probably one of them.
3. szszrk ◴[] No.43630690[source]
That's how I see devops applied in practice in some places - just replace ops with dev. Then things like this happen daily.

I don't blame the author at all - we should do "works most of the time" projects more often and stop caring that much about SLAs. But that downtime in an article that focuses on "Know Your Tools Really Well" is hilarious way of showing that dev and ops are rather different skill sets.

4. Hamuko ◴[] No.43631030[source]
At least my free Cloudflare-hosted blog was able to withstand being on the HN front page once. I think they've over-engineered their "static" site hosting to the point where it can fail under heavy traffic.
5. __jonas ◴[] No.43631104[source]
The irony is that Cloudflare actually offers free static hosting with unlimited traffic, this just seems to run on a Cloudflare compute service for some reason? Perhaps it’s server rendered.
replies(1): >>43631332 #
6. hombre_fatal ◴[] No.43631332[source]
They are using Zola (Rust SSG) but I think they're serving from Worker + KV: https://github.com/mre/endler.dev/blob/32016d0f204911bc9a8a4...

They have a history of using static hosting (GH Pages) but prob decided it wasn't necessary when they switched to CF. And whipping up your own lil scheme using compute is more fun and it let them mirror the request to their analytics service.

I don't blame them: I'm so used to infinite free tiers especially from CF that without seeing my blog saturate the worker limit, I wouldn't have considered it.

replies(1): >>43632991 #
7. reverendsteveii ◴[] No.43632893[source]
I certainly would. Getting blasted w traffic because of an insightful post is an edge case that it doesn't make sense to design around and I'm not really gonna want my personal blog to be a time or money sink when I could be spending either on things that I like more than that. So I'm gonna go with the free tier of something that provides basic protection and availability and if I do get hug-of-death'd by some content aggregator or another it's no real loss to me that they use the wayback machine rather than hit my page directly because I'm not monetizing.
8. ryandrake ◴[] No.43632991{3}[source]
The idea that you need "workers" and compute to serve 10KB of words...
replies(1): >>43635635 #
9. hombre_fatal ◴[] No.43635635{4}[source]
HN mindset:

- When I do something, I did it understanding that's what I had the limited time/attention for and you should give me grace, especially when I'm dicking around with my personal blog on a Saturday afternoon.

- When other people do something, they engineered what they thought was the necessary + perfect solution, and they chose that exact impl after every option was evaluated to its end, and I will criticize them accordingly.