zlacker

[return to "Small SaaS banned by Cloudflare after 4 years of being paying customer"]
1. ddoria+g6[view] [source] 2023-02-03 10:52:24
>>tardis+(OP)
How are you using the workers? Is the JSON cached? Where do you get the JSON?
◧◩
2. tardis+v7[view] [source] 2023-02-03 11:04:13
>>ddoria+g6
I'm using Workers as basically API gateway/smart load balancer to backend services that handle actual load (resource intensive data filtering). Most of the responses are not cached on Cloudflare level. Thing is that I was using Workers for about 4 years already with not issue at at all, I'm aware that I use lots of requests and bandwidth but I just wish I was contacted about mandatory upgrade before effectively turning my service down.
◧◩◪
3. tiew9V+Tc[view] [source] 2023-02-03 11:55:51
>>tardis+v7
That’s interesting.

I’m using cloudflare pages with workers doing the same as you on a much smaller scale. The workers reverse proxy a rest api under the same host so I don’t need to worry about CORS, take the country HTTP header provided by Cloudflare then route the request to backend servers in the nearest AWS region and also cache any responses with cache control headers utilising Cloudflare’s Edge caching. It works great and gives a fast user experience regardless of where you are in the world.

I was going to implement rate limiting backed by durable objects to protect my backends.

It seems exactly the usecase and ideal usage of workers! Now seeing this, it has me rethinking using/investing in cloudflare if they can decide if they like how you use workers or not and kick you off. It shouldn’t matter what output the worker generates as long as it conforms to https://developers.cloudflare.com/workers/platform/limits/

[go to top]