Ask HN: Alternatives to Cloudflare?
Everyone I know seems to be in love with Cloudflare, and then sporadically, we have issues like Cloudbleed, reported data leaks, and severe outages that simply take your site down just for using them.
Is CF overrated, or worth the occasional blips? What can I do to minimize downtime? Are there good alternatives?
25 comments
[ 7.1 ms ] story [ 72.9 ms ] threadI run my own server on a VPS, and serve no more than 50 concurrent users.
Do you have a specific use case that requires a CDN? spambots brute forcing your forms?
I have witnessed this as well. People do a thing however may not realize why they are doing it. It reminds me of the five monkeys, the ladder, the bananas and the sprayer. [1]
I suppose that only you would know if your site really needs a CDN by looking at load/network statistics. Anecdotally the only times I have needed one was when I posted anything controversial. Even then a VPS can usually withstand some abuse but some of the admins can be quick to disable a node if they see sustained abuse. Some VPS providers are easier to manipulate into cancelling a VM without proper investigation. It also depends on how experienced the person responding to their abuse@ complaints is that day.
For what it's worth, HN is not using a CDN and is just running on one server.
[1] - https://skeptics.stackexchange.com/questions/6828/was-the-ex...
I guess my secondary question is, why do many people running pretty small websites use and swear by them? I’m just trying to understand how necessary CDNs are, and is CF the CDN to use?
Most of which are just small personal sites
I use Cloudflare to: 1. Give me easy SSL on all of the sites ("flexible", so not 'proper' ssl) 2. Hide my origin IPs 3. Easy compression, minification, caching, etc. 4. Host some sites on Cloudflare Pages
CDNs certainly aren't necessary for small websites but I'd say Cloudflare is the one to use if you want one, but also want to avoid spending money.
If you feel like you don't need or want one, honestly just don't bother with it.
Taking a pragmatic approach the questions you need to be asking are more like "what is my actual uptime target?", "what benefit is this piece of my architecture adding?" and "is the cost (in terms of complexity if not actual money) worth it to diversify?"
And perhaps I’m overreacting. (Though the thought of my website being beholden to another company and being helpless isn’t satisfying.)
I currently don’t run a CDN at all. The server I have is for a side project that is for users’ creative purposes than important business needs, so the uptime isn’t absolutely critical.
Not advocating one or the other. Everything has outages. But Cloudflare is clearly not the only option out there. I think they just seem like it in solo dev/startup spaces like this because they have historically had the most extensive free tier in their industry sector.