News for hackers. Stuff that matters.
Re:We Need to Talk About Vercel by ilrwbwrkhv on Sunday April 09, 2023 @10:28PM (#35508568)
If anyone needs a CDN, please use BunnyCDN. I have tried almost every other major CDN and it just blows everything else out of the water.

Regarding Vercel, they do have quite poor support so it doesn't feel rock solid and dependable. They are a great start though, but then ideally you should just switch to bare metal on Hetzner or something when you are earning serious money from your business.

Re:We Need to Talk About Vercel by jacooper on Sunday April 09, 2023 @11:11PM (#35508816)
Honestly nothing compares to bandwidth free expenses with cloudflare especially with cloudflare R2. Also having different pricing for every region is very annoying.
Re:We Need to Talk About Vercel by getcrunk on Monday April 10, 2023 @12:00AM (#35509060)
Yea but better to not keep all you eggs in one basket and also centralization of web issues re:cf
Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @05:53PM (#35517844)
Just using them as a CDN through R2, no proxying.
Re:We Need to Talk About Vercel by locustous on Monday April 10, 2023 @12:15AM (#35509123)
Hetzner is cheaper unless you are serving a sizable asset with R2. R2 costs per call. That cost is more than most web bundle size assets will be at Hetzner egress pricing.
Re:We Need to Talk About Vercel by ranguna on Monday April 10, 2023 @03:36AM (#35510023)
Didn't know hetzner had a fully managed global caching solution, nice.
Re:We Need to Talk About Vercel by re-thc on Monday April 10, 2023 @04:15AM (#35510220)
Any links to it? Can't find 1 on the website.
Re:We Need to Talk About Vercel by robjan on Monday April 10, 2023 @07:42AM (#35511220)
They don't
Re:We Need to Talk About Vercel by ranguna on Tuesday April 11, 2023 @03:08AM (#35521818)
Ah so the OP lied, great.
Re:We Need to Talk About Vercel by locustous on Sunday April 16, 2023 @01:24PM (#35592133)
I'm only describing egress pricing for serving content, not CDN.

If you're in the same region, another DNS lookup is going to be more costly than a CDN will be worth in proximity.

Re:We Need to Talk About Vercel by re-thc on Wednesday April 19, 2023 @08:20AM (#35627214)
Depends. Some CDN are more than worth it. Hetzner has weak DDoS protection for example. Some CDN have caches inside the ISP network. It doesn't even get out. There are also cases where the local ISP may not peer with you even if you are in the same region. OVH was famous for this in Asia. It's not enough to be in the same region.
Re:We Need to Talk About Vercel by locustous on Saturday April 22, 2023 @12:34AM (#35663362)
Different perspectives from different requirements. In my case I have to serve API requests that can't be proxied. Most of the data is API, it's bigger than the statics.

Using a CDN for static assets for North America just doesn't seem worth it to me.

Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @05:52PM (#35517840)
Since when does hetzner have a CDN offering, unless you mean storage boxes which aren't even close. And they aren't even comparable to normal object storage, since data is protected by a single raid cluster.
Re:We Need to Talk About Vercel by boundlessdreamz on Monday April 10, 2023 @12:23AM (#35509154)
But cloudflare can only be used safely with R2. If you use it as a CDN for your app, you have to be careful about section 2.8 of their TOS. If your usage is mostly caching a JSON API response, you are technically in violation.
Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @05:50PM (#35517826)
Yup, that's why I said use R2 and its still cheaper than bunny, since they charge per transaction instead of bandwidth usage and its unified price for all areas.
Re:We Need to Talk About Vercel by Atlas22 on Monday April 10, 2023 @12:42AM (#35509247)
The free version of cloudflare is essentially a "fair-use" offering, meaning that it is free until they decide its no longer free for you at their sole discretion [0]. Their terms of service prohibits distribution of any "disproportionate percentage" of non-HTML content [1]. That includes most of what you would want a CDN for: video, images, audio, binaries.

They have exercised this discretion repeatedly for significant bandwidth users, usually in the form of "You need to upgrade to the enterprise plan or we will terminate services for your site." One of my sites got the enterprise "offer" after serving single digit TB in a month. Running on a real CDN from the start would have been cheaper than inevitably getting extorted to a large <contact sales> price for <contract term> or terminated with little to no time to migrate things.

[0] Section 2.6 https://www.cloudflare.com/terms/ [1] Section 2.8 https://www.cloudflare.com/terms/

Re:We Need to Talk About Vercel by wahnfrieden on Monday April 10, 2023 @11:20AM (#35513377)
Free version also has some awful gaps in global coverage
Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @05:45PM (#35517772)
Then use R2, which can be used for everything with no usage limits as you are going to pay for your usage anyway.
Re:We Need to Talk About Vercel by BFLpL0QNek on Monday April 10, 2023 @09:28PM (#35519572)
To use R2 you’d need to host images/assets separately on their own domain rather than just put a CDN infront of your entire site and forget about it. Putting assets on their own domain isn’t uncommon but for some stuff it can be a big inconvenience with build pipelines/software support.

I’m not sure on R2 specifics but I remember when I wanted vanity names on Cloudflare I.e assets.example.com it was not possible unless you give Cloudflare control over your entire domain, dropping your current nameservers or sign up for an enterprise plan for cname support.

Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @11:21PM (#35520370)
I mean you are going to do that anyway to use bunny. And you are right, they need the domain to be on their nameservers.
Re:We Need to Talk About Vercel by re-thc on Monday April 10, 2023 @04:16AM (#35510226)
Cloudflare isn't 100% free unless it's only the US. Non business accounts get re-routed on major ISPs in quite a few countries. Quite an upfront cost.
Re:We Need to Talk About Vercel by wahnfrieden on Monday April 10, 2023 @11:21AM (#35513392)
Re routed?
Re:We Need to Talk About Vercel by re-thc on Tuesday April 11, 2023 @01:22AM (#35521166)
Yes e.g. if a user is in India they may get sent to Singapore, Hong Kong or other locations to serve their traffic instead of the actual India PoP.
Re:We Need to Talk About Vercel by porker on Monday April 10, 2023 @04:32AM (#35510305)
Better than Fastly?
Re:We Need to Talk About Vercel by jacooper on Monday April 10, 2023 @11:27PM (#35520416)
Certianly cheaper.
Re:We Need to Talk About Vercel by steve_taylor on Monday April 10, 2023 @08:46PM (#35519264)
Bunny.net is amazing. Its pricing is excellent for any scale. Its combination of CDN, DNS and storage services allow for unlimited static websites, each with a custom domain.