Live data from Hacker News

Dropping Cloudflare for Bunny.net

jola.dev

121–130 of 225 posts

Re: Dropping Cloudflare for Bunny.net

#121

I do have a question, is it even possible to have a CDN set up where they don't MITM and strip your TLS and re-encrypt or are we just picking which jurisdiction gets to inspect your traffic? edit: I'm thinking of the use case where the CDN as a proxy for APIs and uncachable content as well, where it used as a reverse proxy for transit/ddos protection.

Why would you want a content delivery network for uncachable content? Literally the point of CDN is to cache content and deliver it.

Granted cloudflare also does DDOS protection, and that makes sense for an API. For that you could do some DDOS protection without stripping TLS, but it can only protect against volumetric attacks like syn/ack floods and not against attacks that are establishing full TCP connections and overwhelming the app server. (rate limiting incoming connections can go a long way, but depending on details, it might still be enough to overwhelm the serving resources, your use case is up to you to understand).

Re: Dropping Cloudflare for Bunny.net

#122

I use bunny.net for CDN and DNS. I don't like free offerings, because what if they decide to charge someday? What if someone decides "free is not feasible, we start charging $20 per instance now". I'd rather have a low fee now, a change from $2 to $3 is more likely and that's fine for me. But from free to not free is risky for me. I also like smaller, independent-ish ompanies that actually care about developers. That…

> I don't like free offerings, because what if they decide to charge someday? What if someone decides "free is not feasible, we start charging $20 per instance now". > I'd rather have a low fee now, a change from $2 to $3 is more likely and that's fine for me. But from free to not free is risky for me.

With free offerings, you’re always helping the supplier in some way. Then you become the product. Which makes it difficult to understand the value exchange; it’s much easier to do so when you’re just paying a fair sum of money.

Re: Dropping Cloudflare for Bunny.net

#124
This isn't an either/or, you can use features from both and you have to compare carefully. I used to do a lot of image manipulation and had pluggable implementations for imgix, cloudflare images, and bunny. Bunny is by far the cheapest and that ended up being the mature solution (plus some custom processing). But for other caching, R2, workers, etc CF is great.

Re: Dropping Cloudflare for Bunny.net

#125
post #3

Unfortunately it doesn't offer free hosting for hobbyists. Even for superficial traffic you'll have pay 1 euro a month (plus VAT). Not many DNS management providers (that I'm aware of, please correct me) support CNAME flattening. That is having your A record point to a CNAME. Every time I purge the pull zone cache, I do it twice, cause once from my CI isn't enough. My CI does individual page cache invalidation during…

Other commenters laughing at you for the price... It's not about the price it's about the barrier. Even if I love a service, I won't get very many people to try it if they need to enter a credit card.

If entering a credit card is too much you probably aren't a potential customer. Part of keeping a service low cost is keeping services efficient. Having a large pool of people using it for free who will never become customers will force the cost higher for those who do pay.

Good riddance to the "free" model. It's never actually free. You either pay with your data, or have to consume ads, or you're forcing other customers to pay for your free usage.

Re: Dropping Cloudflare for Bunny.net

#126

I'm currently running a SaaS on Cloudflare Workers + Pages. The developer experience is genuinely good, deploying serverless functions and static sites from the same repo has been seamless. But I hit a real issue recently: CDN edge caching served stale HTML after a deploy, and the service worker cached the bad response. Took a CDN purge from the dashboard to fix. The debugging experience when things go wrong at the e…

This is why we purge cache from CI after a deploy[0], and other places when our users publish a story, etc.

That said, the edge-caching being how it is, it's possible to run into some race-conditions where the cache has been purged but not propagated to the edge network, and if visited too soon, the stale version might end up back into the cache.

[0]:

  curl --fail --output "/dev/null" --silent --show-error -X POST "https://api.cloudflare.com/client/v4/zones/{our_zone_id}/purge_cache" \
    -H "Authorization: Bearer $CLOUDFLARE_CACHE_PURGE_API_TOKEN" -H "Content-Type: application/json" \
    --data '{"hosts": ["instorier.com", "www.instorier.com"]}'

Re: Dropping Cloudflare for Bunny.net

#128
post #102
post #66

Earlier quoted context omitted.

If you've ever offered an online service, charging "the dollar" reduces a ton of spam/abuse you have to deal with.

I have been the service provider who had to paywall just to stop the spammers and you're right. But it's also true that kids will be collateral damage (or anyone without a credit card). In my case, and it was the 90s, I took the time to setup a way to pay by calling a premium (1-900) for $1.49 number so the barrier to entry even for kids was still reasonable. Maybe in modern day the equivalent is adding Google pay an…

If a parent can buy their kid a computer, they can pay 1 euro a month for a CDN in the rare case they need it. This is a bad argument.

Re: Dropping Cloudflare for Bunny.net

#129
post #61

Earlier quoted context omitted.

DB seems like the main shortcoming in the stack for them. I don't want to deal with the limitations of D1. Seems like a serverless postgres setup a la Neon/Supabase would be a slam dunk.

They have Durable Objects which should be enough for most use cases (it’s SQLite with no limitations). Have you tried that?

Yeah, but then I'm heavily coupled to their proprietary infrastructure. Maybe a good thing for them, but a nonstarter for thinking about building a real business on, for me and many others I'd presume.

Re: Dropping Cloudflare for Bunny.net

#130
post #23

Earlier quoted context omitted.

oh no a euro a month for a service. How will we financially recover?

not everyone lives in the USA or earns USA based salaries. also I said this in a another thread, they charges 1$ even for single testing http request. https://news.ycombinator.com/item?id=46873521

I'm not in the USA or earn USA salary but I can pay 1 euro a month for a thing.
Post reply on HN