Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Delivery Strategies #3

Open
tsutomi opened this issue Jan 20, 2022 · 0 comments
Open

Multiple Delivery Strategies #3

tsutomi opened this issue Jan 20, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@tsutomi
Copy link
Member

tsutomi commented Jan 20, 2022

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
@tsutomi tsutomi added the enhancement New feature or request label Jan 20, 2022
@tsutomi tsutomi added this to the Popeye milestone Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant