Re:Requests dropped when using Cloudflare’s free tier for a ...
by jwr on Monday February 08, 2021 @07:28AM
(#26063590)
I think it might also be worth considering whether returning 503 is the right response when rate limited. 5xx indicates server failure, a "429 Rate Limited" is a more appropriate response.
[ Parent
| on HN ]
Re:Requests dropped when using Cloudflare’s free tier for a ...
by pdpi on Monday February 08, 2021 @08:37AM
(#26064232)
4xx is a client error and 429 indicates that particular client is making too many requests. 5xx is a server error and 503 says the service itself is unavailable irrespective of the client’s actions. In this particular case it’d be unavailable for contractual rather than technical reasons, but it’s still the right status