by tylermenezes · 7y ago · 0 comments
Cloudflare is fine but they are still an order of magnitude slower, which is why we switched. I just tested and Cloudflare is still taking 48ms their own DNS server to resolve our Cloudflare-hosted DNS, but only 14ms for Fastly to establish a connection and send the first byte.
That speed does make a difference. When we switched from Cloudflare to Fastly we had about a 7% increase in completed sales.
I think their ROI is still too low for most small businesses, the only way that actually makes sense for us is because it's free for open source/nonprofits. But I can imagine it's a big deal for larger ones.
Top 15:
1 Google Cloud CDN 36.70 ms
2 jsDelivr CDN 36.80 ms
3 Akamai CDN 38.00 ms
4 Verizon (Edgecast) CDN 38.30 ms
5 Azure CDN 38.50 ms
6 Fastly CDN 41.38 ms
7 Cloudflare CDN 41.80 ms
8 AWS CloudFront CDN 43.00 ms
9 CacheFly 43.90 ms
10 BunnyCDN 46.00 ms
11 StackPath CDN 46.53 ms
12 KeyCDN 47.00 ms
13 CDN.NET 48.46 ms
14 G-Core Labs CDN 48.74 ms
15 Quantil CDN 50.20 ms7% increase in sales? With what sample size? With what confidence? How did you isolate variables?
For reference, I work at a company with $110M in annual sales. We were planning to start using Fastly. For obvious reasons, we wanted to know how much of a net positive that would be for the business. So we wanted to A/B test it. For us, at least, it's not as straight forward as it would seem.
7% increase represents an increase in the number of students/parents purchasing tickets to our events. (It's not like they're spending more individually, but more people have been willing to give us money.)
That's based on several years with no substantial change in the way we market or the design of our site.
We got that part, but correlation doesn't always imply causation. Maybe that change was seasonal or just plain old growth not accounted for in your 7%?
That said, it’s not 10x or whatever. Maybe like 5-10% depending on location.
Enterprise customers are generally able to get their SE to set whatever cache key they like, and if that is insufficient they can use the worker cache API: https://developers.cloudflare.com/workers/reference/cache-ap...
As I understand it a charity may get the former thing for free through https://www.cloudflare.com/galileo/ , but the latter probably still has usage-based billing.
Disclosure: I work for Cloudflare.
Deployment times for config changes have been operating at the sub-5m timeframe for at least two years. It used to take hours (never days) to propagate changes across the server estate, but not anymore. And while we were admittedly late to the DevOps train, we have made up lost ground. We have nearly 100 individual APIs to control almost any aspect of our products. CLIs if you don't want to write to the API. A Sandbox to test config changes locally. The ability to validate OAuth tokens at the Edge, cache GraphQL responses, and throttle and/or quota API traffic on a global basis. Hashtag "legacy CDN."
Fastly is sub 5 seconds.
> And while we were admittedly late to the DevOps train, we have made up lost ground.
Not anywhere close. Your cache invalidation takes forever. Ability to assign tag objects does not exist. Engaging "professional services" to make a config change like it is 2002?
Akamai also has a fast purge these days, sub 5 seconds as well I believe. Works nicely.
Fastpurge is a hack.
There has definitely been a push to catch up, but I wouldn't say you're there yet. The Terraform provider for instance is not up to par with the Fastly one. Having attended an Akamai DevOps workshop not so long ago, there didn't seem to be an easy way to use the CLI tools to configure a property in an idempotent way in a CI/CD pipeline. Maybe things are different now.
Akamai has some advantages for enterprise customers though such as easy assignment of cost using the CP codes. That's very handy. The integration with Let's Encrypt is also very nice.
Fastly delivers in it's simplicity and documentation. Whatever use case you need, you'll most likely find it in their docs and on their blog. Being able to use VCL to configure your caching is in my opinion way easier (and with less limitations) than the Akamai rule tree (even if you don't have previous Varnish experience). Varnish's finite state machine makes it easy to configure and debug any kind of behavior you want. The Akamai rule tree has caused me quite a few 'WTF' moments. It's difficult to debug when something doesn't behave as expected and there's a certain amount of 'black magic' in the behaviors sometimes that makes it difficult to judge what the outcome will be.
The good thing is that both companies have different features and get pushed to incorporate features deemed useful by their customers at one or the other provider.
How did you isolate the variables?
But it makes sense, too: if the metric here is average latency, that doesn't mean that some users didn't see a much more dramatic increase. Every tiny bit of frustration removed from the experience adds up.
You've measured and know that a user seeing a 905ms load time converts more than one seeing 915ms?
Also, latency measured at the server is amplified once its received by the browser. And when the user's connection isn't great, all this is worsened. It quickly adds up. In fact, it doesn't "adds" up, it "multiplies" up.
This is easily possible if you have a highly distributed customer base, and/or some small segment of your customers don't have good upstream peering with your provider.
Interesting. Is that for the flow that starts at https://www.srnd.org/sponsor => https://www.srnd.org/sponsor/pay or somewhere else?
(Those pages do load very fast.)