Is proxied GEO load balancer suitable for messaging app?
How long can proxied load balancer DNS queries be cached for?
I'd use polling so for example 1 person, using app for 1h for a month would do 108,000 requests.
Would that be about $0.10 or could that be reduced by caching dns?
Also since it would be polling, having 1000 users at same time would mean 1k queries per second to Cloudflare. At what scale that would be an issues for CF?
I'd be using Cloudflare for ddos protection.
6 Replies
i doubt that there's any scale that would be an issue for cloudflare -- they spread requests globally
discord uses it, and as you can see, it's working perfectly with probably millions of requests per second
Thank you. Do you happen to know the pricing part?
Just have read that CF offers websockets. So I wouldn't need polling.
iirc websockets are under some vague fair-use terms
my assumption is that they monitor for people using a ton and manually hit them up and ask them to buy a plan, rather than blocking traffic
but someone with more experience at-scale could probably answer better
as for pricing, I think it's the same, 'free' as in fair-use, then a nudge to subscribe
i got like 500k rps for a couple of minutes at one point and didn't get charged once
That's better than ban or cut off. I'm not up to "abuse the system" so if I'll have to pay for plan then I'll do it.
500k rps Wow, just curious was that ddos or real users?
ddos lol
500k still big, would crash many servers. Ok thanks for replying