Skip to content

Service layer methods should have retry-on-fail mechanism #10

Description

@morisil

The UserService, when implemented on different platforms, should provide retry-on-fail for each method, and also exponential backoff mechanism which is quite easy to deliver on top of RxJava. Still it seems that some shared utilities might be needed for this purpose (ahkh project). Exceptions specific to the transport layer should be analyzed because some of them are not eligible for retry (e.g. API rate limit exceeded).

References:
https://en.wikipedia.org/wiki/Exponential_backoff

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions