AveryRegier / retry-until

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

retry-until

This code demonstrates how to honor all user and system needs in a retry and waiting system in a service.

Honors:

  • The users's need to be notified of progress and delay.
  • The user's need to cancel a request.
  • To stop beofre the time the user will lose patience with a process as understood by your product owner.
  • The downstream system's requests to delay execution.
  • The downstream system's need for exponential delay.
  • The system's need to not have retries happen all at once
  • They system's need to not retry when the client provided a bad request.

You can find the core code in RetryExecutor.java.

This was the example code from To Retry, or Not to Retry given at Prairie Code 2019.

About

License:The Unlicense


Languages

Language:Java 100.0%