Skip to content

Multiple Delivery Strategies #3

@tsutomi

Description

@tsutomi

The current implementation of the service tries to reach a single destination URL for the delivery of a webhook, trying a number of configured times before failing.

In some challenging and mission-critical scenarios this might not be a good approach, since the receivers might be distributed between multiple services, for load balancing and tolerance.

It should be possible to configure an array of possible destinations for the delivery, and allowing to specify one of the following strategies:

  • First Available Receiver - The service attempts to deliver to the webhook to the destinations in sequence, stopping when the first of them responded successfully; optionally, we might want to implement a ping function to test the receiver before reaching it
  • Random - Select a random destinations between the ones configured and then attempt the number of times, until success or failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions