Riptide: Backup implements the backup request pattern, also known as hedged requests as an extension for Riptide.
Http.builder()
.plugin(new BackupRequestPlugin(scheduler, 100, MILLISECONDS))
.build();
- adds delayed backup requests to Riptide calls
- Java 8
- Riptide Core
Add the following dependency to your project:
<dependency>
<groupId>org.zalando</groupId>
<artifactId>riptide-backup</artifactId>
<version>${riptide.version}</version>
</dependency>
Http.builder()
.plugin(new BackupRequestPlugin(
Executors.newSingleThreadScheduledExecutor(),
100, MILLISECONDS))
.build();
If you have questions, concerns, bug reports, etc., please file an issue in this repository's Issue Tracker.
To contribute, simply open a pull request and add a brief description (1-2 sentences) of your addition or change. For more details, check the contribution guidelines.