From my limited research in the past for web servers JS is not that far behind Rust. In fact they often rank better. For this "single query" JS (just-js) ranks 1st with a rust one at 3rd:
https://www.techempower.com/benchmarks/#section=data-r21&tes...
for "fortunes" requests JS is 5th place with Rust at 2nd and 4th:
https://www.techempower.com/benchmarks/#section=data-r21
etc, but again not sure how relevant this is
Fastly's complaint is "we don't offer the fast runtime so its unfair that you point out that you have a faster option while claiming you have a faster option."
Cloudflare used JS for edge workers as their launch choice, and Fastly used Rust as their launch choice so of course it makes sense to compare the two most mature techs in their stacks
The funny side point here is this is two unprofitable CDNs squabbling while the unfashionable Akamai just keeps making money — an interesting case of first mover advantage
Akamai's advantage is probably it's sales business and existing contracts. Workers is just business #1383 for Cloudflare which can take advantage of their freemium scaling model
What is dishonest, as a sibling pointed out, is compiling rust to WASM and pretending it is a more fair comparison.
Reading through both posts, I'm not exactly finding fastly's defense to be meaningful.
Well, except Liberia
I added more details here, with what I remember from those days: https://news.ycombinator.com/item?id=36733580
( Then noticed your post)
Why should I, as a customer of a hosted, managed, SaaS product, need to ever care or think about the time of day as a factor for the performance of my product? If Fastly, as a hosted SaaS, isn't managing its own capacity well enough to deliver consistent performance at all times, that's on them.
Additionally, provisioning hidden limits between different types of accounts, especially limits that affect performance for a CDN whose objective should be delivering consistent performance, is deceptive at best, and malicious and false advertising at worst.
There’s a reason that many sites that require efficient content delivery have many different CDNs and optimize between them. Well, there are many reasons. But one of them is QoS.
- Cloudflare doesn't strictly allow benchmarking - Thus fastly compared against Cloudflare's own metric and numbers
Fastly would do better to go on the offensive and prove their worth rather than complain about everything a competitor says.
But I think they're also probably the users most likely to drive performance variations too
If someone ran a performance benchmark of your SaaS product many times over a few days until they got a result that looked bad in comparison to their own product, then proceeded to use that one sample in their post, you'd be pissed too.
Performance isn't constant, and especially for a (presumably low-priority) free offering, it's beyond sketchy.
The question is: how many times did Cloudflare test before finding the worst hour? I rather doubt they registered their trials!
(But it could also be “just the one time” because they are that much better… who can say?)
And that happened to be 1am NZ time.
And it made cloudflare look good but vastly look bad.
But you run the same test at 1pm NZ time and fastly is faster cos cloudflare can’t handle the load.
Obviously it does matter to you as a sad providers because time of day does matter for when the tests are conducted.
So for Cloudflare's tests, I can see why they wouldn't want to directly say "we're benchmarking you, can we have an account", since that would require an entire contract to be set up and approved by the purchasing department, and it could give Fastly the time to flag their account to "over" prioritize it, potentially affecting benchmark results.
https://twitter.com/eastdakota/status/1671896844513734656?t=...
> Love that the only country where Fastly is fastest is now Liberia.
> We use Real User Measurements (RUM) and fetch a small file from Cloudflare, Akamai, CloudFront, Fastly and Google Cloud CDN. Browsers around the world report the performance of those providers from the perspective of the end-user network they are on
Even the blog post they reference doesn’t cover much more detail
Key thing is to be measuring via RUM they must be injecting the script into sites they serve (and presumably the free ones) so there may already be bias introduced here, also why choose a 100kb file, how does the data differ if say a 10kb or 200kb is used etc.
Lots of questions about the methodology remain
To counterpoint, I always found it interesting that cloudflare talks about population density ( big cities) on where to perform faster. Since that's where most of the population lives.
I haven't seen any other companies talk about that outside of cloudflare.
And it seems a more important real-life benchmark than deciding the difference between 10 kb, 100 kb or 200 kb...
Tbh, I think 100 kb. Is just the smallest relevant size which they thought, looking at their speedtest file sizes of 100 kb, 1 mb and 10 mb - https://speed.cloudflare.com/
Cloudflare are making the claim that they’re faster than others, and they collected the data they’re basing their claim on
They’re always going to try to present themselves favourably so that means we should be skeptical and ask questions about the gaps in the data and the methodology
Questioning 10, 100 vs 200 kb. seemed nitting to me, if I may say that.
I've seen a lot of bias against cloudflare since fastly's blaming and a lot seems exaggerated to me.
It's like they have to hold standards 20 x higher than the rest to make the same point. And tbh. They actually didn't earn the blame that happened then ( if I remember it correctly)
I'm sure fastly would be quick to point out any errors ( relevant or not) in benchmarking. And considering they didn't for a month and considering history, that also bears meaning.
Since they are the obvious losers here ( only faster in Liberia... ).
Additionally, I'm pretty sure eastdakota's statement "game on" and their unfortunate PR disaster ( they have gone much more silent since then), would mean they are double checking any benchmarking for errors.
At least, if I can guess cloudflare 's management correctly.
Note: fan of the firm + management. Got shares.
If I wouldn't think they are acting in good faith, I'd probably sell my shares.
In the immediate finds I'm seeing, these two matter most to me:
>Cloudflare used a free Fastly trial account to conduct their tests. Free trial accounts are designed for limited use compared to paid accounts, and performance under load is not comparable between the two.
>Cloudflare conducted their tests in a single hour, on a single day. This fails to normalize for daily traffic patterns or abnormal events and is susceptible to random distortion effects. If you ran several sets of tests at different times of day, it’s likely that at some point, you’d achieve your desired outcome.
Neither of these are good. For one, paid uninhibited account would cost little to do this test properly. You don't know if you hit their rate limits, are de-prioritized over paid users etc. There are lots of reasons why this is could cause the metrics to be skewed.
The second one is an even bigger deal. Sample size matters, as does variance of inputs. This is just sloppy all around. 1 hour on 1 day will tell little of performance. Ideally, this should be done quite randomly, with a bunch of different random workload variances, and sampled over weeks, and from different locations (east coast, west coast, midwest, Canada, Europe etc). This would give a real sense of the overall network, and leave a lot less room for Fastly to hit back if the benchmarks are accurate.
Overall I think Fastly may have caught Cloudflare red handed in sloppiness of comparision. For Cloudflare, this is pretty poor execution. Unfortunately, if or when Cloudflare does a response piece and still backs their claim, they're going to look more suspect if they aren't more thorough with their methodology and reproducibility