Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably stupid question (I am not a network/infra engineer) - can you not simply rate limit requests (by IP or some other method)?

Yes your customers may well implement stupidly aggressive retries, but that shouldn't break your stuff, they should just start getting 429s?



Load shedding effectively does that. 503 is the correct error code here to indicate temporary failure; 429 means you've exhausted a quota.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: