News for hackers. Stuff that matters.
Re:We handle 80TB and 5M page views a month for under $400 by PragmaticPulp on Wednesday January 05, 2022 @08:26PM (#29817891)
> you can have a very modest web server or even a pay per request serverless sort of thing and pay $20 real quick to Cloudflare if you happen to get popular.

I get the impression that a lot of the critics in this thread don't really understand Cloudflare, how cheap it is, or even the concept of CDNs in general.

$20/month for Cloudflare Pro is a steal for what you get. Spinning up a dedicated server in a single datacenter somewhere isn't going to give the same results, especially if your users are geographically distributed like in this case.

Re:We handle 80TB and 5M page views a month for under $400 by kortilla on Wednesday January 05, 2022 @10:44PM (#29819087)
> I get the impression that a lot of the critics in this thread don't really understand Cloudflare, how cheap it is, or even the concept of CDNs in general.

You’re talking past the point here. It doesn’t matter how cheap if you’re fundamentally opposed to enabling cloud flare to reach its meat hooks further into the Internet.

This is no different from arguments about embedding google analytics or “just paying for windows” instead of using Linux.

Re:We handle 80TB and 5M page views a month for under $400 by manigandham on Thursday January 06, 2022 @12:10AM (#29819693)
CDNs are a commodity business with tons of competition. Cloudflare is winning by offering a better product.

You should take issue with all the other companies that have failed to deliver something as compelling.

Re:We handle 80TB and 5M page views a month for under $400 by capableweb on Thursday January 06, 2022 @02:44AM (#29820576)
I don't think the problem is a specific CDN. Is that everyone ends up using the same CDN, so when Cloudflare has problems, it affects everyone. Same with AWS, large swaths of the internet goes down if AWS does, which sounds great for AWS in marketing material, but less great for the general usability of the web.
Re:We handle 80TB and 5M page views a month for under $400 by Karrot_Kream on Thursday January 06, 2022 @12:11AM (#29819695)
> You’re talking past the point here

What point? Nobody said anything about "cloud flare to reach its meat hooks" in the article or the above thread except you?

Re:We handle 80TB and 5M page views a month for under $400 by fivea on Thursday January 06, 2022 @02:37AM (#29820531)
> What point? Nobody said anything about "cloud flare to reach its meat hooks" in the article or the above thread except you?

The OP mention "cloud flare to reach its meat hooks" in the thread attacking those who haven't jumped into Cloud flare's bandwagon by putting up a strawman on how that's only due to ignorance.

OP clarified that misrepresentation by pointing out the risk of allowing a single company to control the CDN market specifically and serving web content in general.

Re:We handle 80TB and 5M page views a month for under $400 by bryanrasmussen on Thursday January 06, 2022 @01:56AM (#29820279)
I figure helping Cloudflare get it's meathooks in the internet offsets all the really big companies that have their meathooks in, or at any rate doesn't worsen the real problem.
Re:We handle 80TB and 5M page views a month for under $400 by fivea on Thursday January 06, 2022 @02:43AM (#29820568)
> (...) helping Cloudflare get it's meathooks in the internet offsets all the really big companies (...)

What? No. Cloudflare reported a revenue of half a billion dollars, and already controls about half the CDN market.

Let's put things in perspective: in comparison with Cloudflare's business, AWS is a minor player and an underdog with less than half of Cloudflare's market share.

Cloudflare is by no means a small company or an upstart or a David among Goliaths. Cloudflare is in fact and by far the Goliath of the CDN world.

Re:We handle 80TB and 5M page views a month for under $400 by rambambram on Thursday January 06, 2022 @01:40PM (#29827854)
Just to understand you better: are you only talking about CDN activities from AWS here? Because I see websites talking about a quarterly revenue of tens of billions of dollars for AWS.
Re:We handle 80TB and 5M page views a month for under $400 by bawolff on Wednesday January 05, 2022 @11:34PM (#29819434)
> Spinning up a dedicated server in a single datacenter somewhere isn't going to give the same results, especially if your users are geographically distributed like in this case.

Maybe not, but is the target audience that shills out $20/month really the type of people who have optimized their site to such an extent that shaving 50ms off the request latency by having your edge cache geolocated is really the type of thing that makes the difference? most of that group could probably do a lot of other optimizations that probably count for more.

Re:We handle 80TB and 5M page views a month for under $400 by PragmaticPulp on Thursday January 06, 2022 @12:50AM (#29819946)
> Maybe not, but is the target audience that shills out $20/month really the type of people who have optimized their site to such an extent that shaving 50ms off the request latency by having your edge cache geolocated is really the type of thing that makes the difference?

The common mistake is to pick a server geographically close to yourself, only access it from low-latency connections, and then assume that everyone in the world is seeing the same thing.

Or to only visit your own site with everything already in the browser cache. If you're not seeing cold start loads, you're not seeing what every new visitor to your website is seeing.

Consider the Photopea.com website. The author explained in a comment below that he spends $60/month to host the site without a CDN. Several of us loaded the site and it took 2.5 - 5.0 seconds to load. He could sign up for a cheap Cloudflare account, reduce the size of his server (due to caching), and the load times for everyone would drop by a significant amount.

If you're hosting simple, static content like a blog for an audience that doesn't care about load times, then of course nothing matters. But for modern, content-rich websites (photos especially) it can actually be a substantial improvement to add a CDN even if you have a single fast server. You may not see it, but visitors from distant locations definitely will see a difference.

Re:We handle 80TB and 5M page views a month for under $400 by southerntofu on Thursday January 06, 2022 @08:31AM (#29823300)
With some browser security policy that blocks part of the download, the homepage www.photopea.com clocks in at 3.80MB (so it should be much higher in practice). In this case, it's mostly JS, so designing your website properly (without JS, especially if the app itself is wasm not JS) would have much better savings than moving to CloudFlare CDN.

A CDN is more times than not the wrong answer to a real problem. Shave off your website and consider content-addressed protocols for big static asset download (like the textures from the article). If you run your website as a lightweight glorified Bittorrent index you'll notice your costs are suddenly a lot less, and you can still have a smaller "Download over the web" button as fallback.

Re:We handle 80TB and 5M page views a month for under $400 by bawolff on Thursday January 06, 2022 @01:50AM (#29820253)
> Consider the Photopea.com website. The author explained in a comment below that he spends $60/month to host the site without a CDN. Several of us loaded the site and it took 2.5 - 5.0 seconds to load

This is a conclusion i am extremely doubtful of.

Ping time new york <-> tokoyo is about 180ms. So lets say as a worse case the ping time to the single server is 180ms (its probably not that bad), and lets say the latency to cloudflare edge server is 20ms.

So using cloudflare on a cache hit (best case), you save something like 160ms per roundtrip.

Which don't get me wrong is a huge savings and worth it (although this scenario is hugely exagerated).

However say you want to load the page in under 1 second instead of 5 seconds. In this scenario you would basically have to have 25 round trips to bring the site from 5 seconds to 1 second just on rtt savings of having a geo located edge server. If your site needs 25 round trips to load, something else is clearly wrong. (And this is an exagerated case, the real world the benefit would probably be much less)

To be clear i'm not saying that geo located edge caches are bad or useless. They are clearly very beneficial thing. Its just not the be all and end all of web performance, and most people in the demographic we are talking about probably have much more important things to optimize (otoh using cloudflare is cheap and doesnt require a lot of skill, so it is a very low hanging fruit)

Re:We handle 80TB and 5M page views a month for under $400 by bostik on Thursday January 06, 2022 @02:30AM (#29820491)
> So using cloudflare on a cache hit (best case), you save something like 160ms per roundtrip.

Per packet. If you're doing a cold start, you'll pay that latency cost several times over: first the TCP handshake (3 roundtrips), and then the TLS handshake (2 more roundtrips). That's 800ms of extra latency before you even get to sending the first HTTPx request.

Cold start latency matters a lot.

Re:We handle 80TB and 5M page views a month for under $400 by PragmaticPulp on Thursday January 06, 2022 @07:43AM (#29822844)
> In this scenario you would basically have to have 25 round trips to bring the site from 5 seconds to 1 second

You’re forgetting that the TCP protocol itself is bidirectional. High latency connections will have lower throughout, especially at the beginning of transmission, because the data isn’t literally just streaming in one direction.

Re:We handle 80TB and 5M page views a month for under $400 by Karrot_Kream on Thursday January 06, 2022 @12:24AM (#29819793)
Anything over 100ms [1] is perceived as not-instant by a user. If you wait 2RTTs with 50ms per round trip, then you've already exceeded this threshold.

[1]: https://stackoverflow.com/questions/536300/what-is-the-short...

Re:We handle 80TB and 5M page views a month for under $400 by bawolff on Thursday January 06, 2022 @01:52AM (#29820263)
To clarify, i don't disagree.

I just think if your site takes 700ms, is there really a difference between that and 650ms?

Re:We handle 80TB and 5M page views a month for under $400 by lsaferite on Thursday January 06, 2022 @08:16AM (#29823151)
If that additional 50ms hits your user's bail-out threshold, yeah.
Re:We handle 80TB and 5M page views a month for under $400 by iso1631 on Thursday January 06, 2022 @04:45AM (#29821413)
1.13 seconds to load https://www.google.co.uk/ (even after preloading it and agreeing to their popup)

3.44 seconds to do a search for "donkey"

Re:We handle 80TB and 5M page views a month for under $400 by encryptluks2 on Wednesday January 05, 2022 @09:13PM (#29818268)
Don't you get tht same for free with GitLab Paged and last I checked Cloudflare was free too for caching static HTML assets?
Re:We handle 80TB and 5M page views a month for under $400 by CRConrad on Saturday January 08, 2022 @08:59PM (#29859042)
> last I checked Cloudflare was free too for caching static HTML assets?

If not free then very cheap, as I understood TFA: Wasn't that why they have two separate domains and serve static assets from one of them, to be able to use the cheapest Cloudflare tier for that domain = those assets?

[dead]
Re:We handle 80TB and 5M page views a month for under $400 by PragmaticPulp on Wednesday January 05, 2022 @09:43PM (#29818531)
> If you're going to centralize in Cloudflare you might as well just skip the hosting the website bit entirely and make a business account on Facebook as your host.

These responses are getting bizarre. Facebook pages have nothing to do with web hosting or Cloudflare.

Also, hosting on a single server in a single datacenter is, literally, the definition of centralized. Cloudflare distributes the content to a huge number of edge nodes which are spread around the world. How did we end up in this situation where people are calling the distributed solution centralized and suggesting a centralized solution as the alternative?

Re:We handle 80TB and 5M page views a month for under $400 by kortilla on Wednesday January 05, 2022 @10:47PM (#29819104)
Because cloud flare administratively centralizes a solution that was previously distributed.

Guess what percentage of websites Cloudflare could take down in minutes if they decided?

It doesn’t matter if cloudflare itself uses a distributed architecture. It’s a massive central point of failure/malice.

Re:We handle 80TB and 5M page views a month for under $400 by cortesoft on Wednesday January 05, 2022 @11:13PM (#29819287)
If cloudflare did that, then you do a simple DNS change and host your content somewhere else.

You are ALWAYS going to be contracting with a third party to provide your connection to the internet... why is trusting cloudflare not to block you riskier than trusting your ISP or the data center that has your server?

Re:We handle 80TB and 5M page views a month for under $400 by kortilla on Saturday January 15, 2022 @02:56PM (#29949608)
> If cloudflare did that, then you do a simple DNS change and host your content somewhere else.

You missed the point. It’s an illustration of how much of the global internet cloudflare intermediates and can eavesdrop, filter. Guess how many tor users you fucked by putting cloudflare between you and them. Vpn users, etc.

Re:We handle 80TB and 5M page views a month for under $400 by aniforprez on Wednesday January 05, 2022 @11:09PM (#29819259)
Then... use something else? Cloudflare doesn't do anything to lock you in
Re:We handle 80TB and 5M page views a month for under $400 by nix23 on Thursday January 06, 2022 @03:51AM (#29820987)
>Guess what percentage of websites Cloudflare could take down in minutes if they decided?

Yes and? People change their DNS entry and will never come back.

Re:We handle 80TB and 5M page views a month for under $400 by ibic on Wednesday January 05, 2022 @09:53PM (#29818620)
Yup, I’m still wrapping my head reading these comments, “bizarre” is the word I was looking for.
Re:We handle 80TB and 5M page views a month for under $400 by superkuh on Wednesday January 05, 2022 @09:56PM (#29818665)
Conflating cloudflare's distributed architecture with distributed control is just silly. It is extremely centralized control and the CEO of Cloudflare has already terminated accounts of a business he had a personal distaste for on whim.

"Non-commercial" might be a better way to understand this point of view. Instead of prioritizing profit (the reason for people using cloudflare, it's cheap and good) the idea is to minimize the damage done by large centralizing forces on the internet. So, in the above comment I suggest Facebook as an equal option because it is analogous to using Cloudflare. The intent was to get you to think like a human person and not a business owner or employee on the clock. It's short term gain for long term damage to the internet.

Re:We handle 80TB and 5M page views a month for under $400 by int_19h on Wednesday January 05, 2022 @10:59PM (#29819200)
But then again, if Cloudflare terminates your account, the website is still up; it's just going to be slower, and you're going to pay more to serve the same number of users. There's no lock-in there that I can see.
Re:We handle 80TB and 5M page views a month for under $400 by nemothekid on Wednesday January 05, 2022 @11:20PM (#29819342)
>It is extremely centralized control and the CEO of Cloudflare has already terminated accounts of a business he had a personal distaste for on whim.

As opposed to the CEO of Amazon/Rackspace/your favorite host here who doesn't have the ability to terminate your account? What are you saying? Or are there other non-profit web hosts and CDNs that I missed?

If you have a personal axe to grind against the CEO of Cloudflare, just say that.

Re:We handle 80TB and 5M page views a month for under $400 by Dracophoenix on Thursday January 06, 2022 @12:25AM (#29819805)
Superkuh's point is that depending on any single service to protect/host/route your content is setting up oneself up to be Parler'd or 8chan'd. It doesn't matter how good the technology. If you don't any have any control over it, you're one copyright strike or bad mood from a CEO away from being deplatformed.

There's.no need to grind an axe to observe how past actions have set the course for the future, perhaps for the worse.

Re:We handle 80TB and 5M page views a month for under $400 by nemothekid on Thursday January 06, 2022 @01:24AM (#29820134)
>If you don't any have any control over it, you're one copyright strike or bad mood from a CEO away from being deplatformed.

Again, _as opposed to what_? Are you saying polyhaven should go multi-cloud and spend triple what they need? You aren't actually presenting any real solutions, you are just complaining about the cloudflare ceo.

I'm a guy who wants to host a service. You are telling me Cloudflare bad. What is the alternative, and how do I ensure the CEO of that service doesn't null route me?

Re:We handle 80TB and 5M page views a month for under $400 by Dracophoenix on Thursday January 06, 2022 @09:04AM (#29823628)
>Again, _as opposed to what_? Are you saying polyhaven should go multi-cloud and spend triple what they need? You aren't actually presenting any real solutions, you are just complaining about the cloudflare ceo.

I haven't complained or suggested a damn thing in my previous comment. All I've provided is an extended summary of Superkuh's comments and supported those claims with evidence of past events. Exercising due diligence shouldn't be regarded as a controversial position.

>I'm a guy who wants to host a service. You are telling me Cloudflare bad.

I'm telling you that depending on a single service, whether that service is Cloudflare, Youtube, AWS, etc., is a bad idea. If you don't have a credible alternative provider you can migrate to at a moment's notice, you're website and content is at risk.

>What is the alternative, and how do I ensure the CEO of that service doesn't null route me?

Alternatives:

https://www.esecurityplanet.com/products/distributed-denial-...

https://www.techradar.com/news/best-ddos-protection

Not mentioned is DDos-Guard, which has a pretty good offering if you don't mind that it's in Russia (perhaps that even might be a bonus)

You can't ensure the CEO of a company doesn't null route you. That's why it's important to have alternatives and plan migration ahead of time.

Re:We handle 80TB and 5M page views a month for under $400 by nemothekid on Thursday January 06, 2022 @01:46PM (#29827959)
>You can't ensure the CEO of a company doesn't null route you.

So the alternatives aren't better than Cloudflare, Superkuh just had an axe to grind specifically with Cloudflare. And there is no an alternative solution that wrests control from a CEO having a bad day.

At the end of the day, he's still at the whims of the Cloudflare/Bunny/Akamai and if he wants to be fully in control he must spend millions building his own CDN.

It's not as if Cloudflare has major switching costs either.

Re:We handle 80TB and 5M page views a month for under $400 by superkuh on Thursday January 06, 2022 @07:53PM (#29833139)
Any alternative is better than everyone using Cloudflare. This would be true even if Cloudflare hadn't already demonstrated their untrustworthiness. It's true for LetsEncrypt even if LE is awesome and really improved the internet and there are other options. If people only use one thing in practice it is a locus of control.
Re:We handle 80TB and 5M page views a month for under $400 by Karrot_Kream on Thursday January 06, 2022 @08:32PM (#29833509)
"Why are you using this thing that solves your problems and does it cheaper than you making your own solution to your problems? You're leading to centralization of the internet!" Good luck changing human nature. Writing these comments here is helping, I'm sure of it. /s
Re:We handle 80TB and 5M page views a month for under $400 by Karrot_Kream on Thursday January 06, 2022 @01:12AM (#29820074)
It's a caching layer. If you're deplatformed from your caching service, you still have the backing service.
Re:We handle 80TB and 5M page views a month for under $400 by immibis on Thursday January 06, 2022 @06:40PM (#29832307)
To be fair, Parler and 8chan did deserve to get Parler'd and 8chan'd respectively. To also be fair, even if you are not Parler or 8chan, it is a valid concern.
Re:We handle 80TB and 5M page views a month for under $400 by Karrot_Kream on Thursday January 06, 2022 @12:33AM (#29819871)
Dealing with fraud and abuse has _long_ been a centralizing force on the internet. Think about email which is the way it is largely because of spam. We need to structurally stop spam not just shame people from embracing solutions that make their life easier.
Re:We handle 80TB and 5M page views a month for under $400 by systemvoltage on Thursday January 06, 2022 @02:25AM (#29820456)
It's interesting - I see Cloudflare a rising force against network attacks more than its CDN properties. It will become the defacto centralized network. Not sure if I like that philosophically, but practically and as a engineer, most enterprises will choose to get their DDoS, WAF, Zero Trust products. Networks are the most vulnerable part of the internet infrastructure. Cyber warfare isn't just a talking point on a 60-minutes episode, it is a real threat to large businesses and they'll opt for centralized control over decentralized risk. They'll keep Cloudflare CEO in check, if not the shareholders/BoD.
Re:We handle 80TB and 5M page views a month for under $400 by darkwater on Thursday January 06, 2022 @04:10AM (#29821137)
No. The definition of "centralized" that matters here is "everyone hosting their website in the same place, using the same vendor".