Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Mark an endpoint as "transient" so that it deletes itself after an amount of inactivity #45

Closed
jpwilliams opened this issue Aug 11, 2017 · 1 comment
Assignees

Comments

@jpwilliams
Copy link
Owner

Coupled with #43, this would mean that services which are down for "prolonged" periods of time would have their queues removed, resulting in requesters getting immediate feedback that the endpoint they're trying to hit is not available.

There are a few issues with this currently:

  1. Utilising this functionality would, under the current design, mean that the endpoint would have to be transient and the requester would have to have the mandatory setting. That's a lot of assumptions/configuration.
  2. When do we expire the queue? We could do it on a default timeout of 30 seconds, but request timeouts are changeable; should endpoint timeouts be?
  3. A service being down and requests still being queued is a nice feature. Rather than this feature being an additional help, it removes one feature in place of another. Is that good?
@jpwilliams jpwilliams self-assigned this Aug 11, 2017
@jpwilliams
Copy link
Owner Author

Pretty heavily related to the new #58, though that works on the assumption that endpoints should be "transient" by default. We'll discuss the possibility of a "transient" option as an alternative in #58 instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant