Updated on 2025-05-22 GMT+08:00

RES09-01 Designing a Retry Mechanism for API Calls and Command Executions

During retries, the service party repeatedly calls the APIs and executes commands. Repeated operations must have consistent results.

  • Risk level

    High

  • Key strategies

    In application system design, ensure that operations are idempotent. Idempotence means that performing an operation once or performing it multiple times has the same result. This ensures an operation is safe to retry. If idempotent operations are not supported, it is difficult for the client to retry an operation or the retry is more complex.