Why are APIs unreliable? Networks can fail, and servers can fail. Three principles to solve this problem: the client uses "retry" to ensure state consistency; the retry requests must include an idempotent unique ID; retries must be responsible, such as following an exponential backoff algorithm, because we do not want a large number of clients to retry simultaneously.
Read more →