Is there a way to implement exponential backoff on a pure REST API? You’d have to keep track of some state (e.g. IP Address, account), no?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the client’s responsibility to implement a backoff policy, as far as I am concerned. Otherwise, as you said, some sort of state must be maintained, such as checking a cookie, request token, etc.
Now, by that definition, many REST APIs are not pure since they take request tokens as parameters and may restrict the number of calls per hour or day, but that is the tradeoff.