Live data from Hacker News

A super fast website using Cloudflare workers

crazyfast.website

81–83 of 83 posts

Re: A super fast website using Cloudflare workers

#81
post #50

Earlier quoted context omitted.

I agree. Not impressed, frankly. Cloudflare workers is just even-more localized CDN, and the benefit is so tiny that it's not worth the investment nor maintenance costs. (I wrote extensively about this non-thing here: https://wskpf.com/takes/you-dont-need-a-cdn-for-seo ). My site ( https://wskpf.com ), which has way more elements and, err, stuff, loads in 50ms, and unless you are superman or an atomic clock, you woul…

TCP performance gets quite poor over long distances. CDNs are very helpful if you're trying to make your site work well far away from your servers.

I think the bottleneck is rarely CDN. Think about it - my server sits in Germany. My target audience is in the US. My latency to the west coast is 150ms. I can see it being a big thing in competitive online game, but for website load performance it's less than the blink of an eye. The real bottleneck is usually poorly configured page or some bloated JS.

Re: A super fast website using Cloudflare workers

#82

Earlier quoted context omitted.

I made a fast usable product page recently https://www.buyadagger.com/

Doesn't work without Javascript?

Correct, all the filtering is done locally in the browser, and the deploy is purely static.

If PSA had let me use affiliate links, I was planning to do the work to SSR in a Cloudflare Worker, but they declined and I decided to call the project where it was.

Re: A super fast website using Cloudflare workers

#83
post #72

Earlier quoted context omitted.

The circumference of Earth at the equator is about 40,000 km and the speed of light is about 300,000 km/s. The appropriate division results in about 0.13 s. That seems to track. The vast majority of requests won’t go half way around the Earth, so maybe halving that time at 0.06 seems like a reasonable target.

Light travels at about 0.69c in fiber optic cables (c being the speed of light in vacuum, which, as you stated, is about 300,000 km/s).

Ah yes I forgot about that. Thanks for the correction.
Post reply on HN