Live data from Hacker News

Benchmarking static website hosting providers

savjee.be

31–40 of 66 posts

Re: Benchmarking static website hosting providers

#31

It would be interesting to know how Vercel stands.

I happened to monitor a vercel app using Sematext Synthetics for last 7 days. These are results - https://gist.github.com/sivasamyk/44645fbdf9798ead68360e18ad...

All measurements are made in AWS Lambda env from Frankfurt Germany.

Full disclosure - I work for Sematext

Re: Benchmarking static website hosting providers

#32
post #29

Netlify results seem disappointing, I say that as a happy user of their service. Netlify is an outlier in this comparison. For them, static site hosting is their core product, bread and butter if you will. To have such mediocre performance, as well as a relatively bad time to first byte is quite surprising.

This article compares it to CDN services, which specialize in static file hosting. Static site hosting is just static file hosting with a different marketing strategy and behind-the-scenes workflow. The real disappointment here is Cloudflare, which manages to be among the slowest despite their supposed focus on performance. Google Cloud Storage manages to be significantly faster than Cloudflare, while serving files p…

How about both being a disappointment? Cloudflare because they are supposed to be all about performance, which is clear from these benchmarks doesn't automatically mean their performance is actually good.

And Netlify is also a disappointment because they are supposed to be all about hosting static websites, and their performance is poor for doing just that.

Re: Benchmarking static website hosting providers

#33
I'd be interested to see comparisons with the "S3-alike" services like Wasabi [1] and BackBlaze's B2 [2]. Their selling point is that they're a lot cheaper, so performance comparisons would be interesting.

1: https://wasabi.com 2: https://www.backblaze.com/b2/cloud-storage.html

Re: Benchmarking static website hosting providers

#34
Cloudflare in front of S3 and Google storage for me. Interesting that is so slow. I did some CF performance tuning while I had a page on HN and found tweaks improved the outcome hugely. (How to get the caching mechanism to actually properly kick in) so I’d want to check the cache hits and misses. Apologies if I missed that in the article.

Re: Benchmarking static website hosting providers

#35
post #19

The services were probed once every minute for 10 days If a page is being hit 1440 times a day for more than a week, without any content changes, wouldn't it end up being served from a caching server at the bigger hosts, with very little chance that it'll ever get flushed from the cache? It's valid to test that if that's the experience you want to test, but a website is only getting a few hundred views a week then yo…

That's an odd complaint. We are talking about static website hosting. Stuff that only changes once per deployment. If your static site cache expires after less than one minute then the static site hosting provider is just bad at his job and can't even get very basic settings right.

Low expiry only makes sense when you are caching dynamic content like hackernews or reddit. You want caching because reddit is a high traffic site but you also don't want to delay content updates too much because your expiration time is too long.

Re: Benchmarking static website hosting providers

#36
post #2

CloudFlare's slowness is extremely surprising to me. From my house in Greece, I get a one millisecond ping to 1.1.1.1 (devices in my house have higher pings), so I was assuming that would carry over to their caches. Too bad about that, looks like I'm going to have to rethink my setup of having them cache my site on their edge.

You can use https://cloudflare-test.judge.sh/ to check from which Cloudflare nodes the sites are actually served. In my experience, sites on Enterprise plan are always loading from the closest node, which is never used by sites on Free plan.

What’s funny is that for me in NYC metro area, all of the Free and Enterprise ones come from the closest location to me (EWR), but the Pro/Business ones are a wide mix, some EWR, some ORD, some YUL. The ones on the Toronto hosted pop are by far the longest ping time, yet the owners of said accounts seemingly paid for the privilege of slower response times. What am I missing?

Re: Benchmarking static website hosting providers

#37
post #28

Earlier quoted context omitted.

I get 8ms even to my WiFi router, how can you have such a low response time? My 1.1.1.1 time is 20ms (Romania).

No idea frate, though I use a wired desktop for the test, so wifi latency isn't a consideration.

I have 10 ms to 1.1.1.1 in RO/RDS on wired. I blame their idiotic pppoe.

Re: Benchmarking static website hosting providers

#38
post #14

A CDN doesn't actually offer you to host websites. Basically it caches your website content, and can help you in improving the performance your visitors. Eventhough Cloudflare is the most widely used free CDN, there are other CDNs you might need to look : https://www.nets4.com/2020/07/free-cdn-providers.html

CDN providers often provide static website hosting as a separate service though. Cloudflare offers "Workers Sites".

Re: Benchmarking static website hosting providers

#39
post #28
post #2

CloudFlare's slowness is extremely surprising to me. From my house in Greece, I get a one millisecond ping to 1.1.1.1 (devices in my house have higher pings), so I was assuming that would carry over to their caches. Too bad about that, looks like I'm going to have to rethink my setup of having them cache my site on their edge.

I get 8ms even to my WiFi router, how can you have such a low response time? My 1.1.1.1 time is 20ms (Romania).

> I get 8ms even to my WiFi router, how can you have such a low response time?

That’s almost assuredly a sign of radio congestion on the channel you are on causing retransmits. It could also be a poor quality AP or you could have to many clients on your AP, but most likely it’s the first one (in band interference causing lots of retransmits) based on experience.

Re: Benchmarking static website hosting providers

#40
post #28
post #2

CloudFlare's slowness is extremely surprising to me. From my house in Greece, I get a one millisecond ping to 1.1.1.1 (devices in my house have higher pings), so I was assuming that would carry over to their caches. Too bad about that, looks like I'm going to have to rethink my setup of having them cache my site on their edge.

I get 8ms even to my WiFi router, how can you have such a low response time? My 1.1.1.1 time is 20ms (Romania).

It depends on how close CF's edge is to you, a normal traceroute from my home's router is 7 hops, but if I'm on VPN, it's just 2 hops from VPN exit.
Post reply on HN