Skip to content

Latest commit

 

History

History
 
 

riptide-backup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Riptide: Backup

Pipes

Build Status Coverage Status Javadoc Release Maven Central License

Riptide: Backup implements the backup request pattern, also known as hedged requests as an extension for Riptide.

Example

Http.builder()
    .plugin(new BackupRequestPlugin(scheduler, 100, MILLISECONDS))
    .build();

Features

  • adds delayed backup requests to Riptide calls

Dependencies

  • Java 8
  • Riptide Core

Installation

Add the following dependency to your project:

<dependency>
    <groupId>org.zalando</groupId>
    <artifactId>riptide-backup</artifactId>
    <version>${riptide.version}</version>
</dependency>

Configuration

Http.builder()
    .plugin(new BackupRequestPlugin(
            Executors.newSingleThreadScheduledExecutor(), 
            100, MILLISECONDS))
    .build();

Getting Help

If you have questions, concerns, bug reports, etc., please file an issue in this repository's Issue Tracker.

Getting Involved/Contributing

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.

Credits and references