Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Make WHS more fault tolerant in case when RabbitMQ is not available #2

Open
boriska70 opened this issue Feb 9, 2016 · 0 comments
Open

Comments

@boriska70
Copy link
Contributor

Use case: if RabbitMQ is not available, we return error 500 to client. Most of clients do not make retries and data is just lost. Likely better solution is:

  1. Retry publishing with (increasing) timer 2-4 times in case that Rabbit is just restarting
  2. If failed, save the data to handle it later. The only place we have for this is etcd (unless we want to create a volume for WHS). Then (periodically?) WHS checks the etcd content and pablish data, when RabbitMQ connection is OK again.
    NOTE: multiple WHS instances insert the same data from etcd? Can be handled in ES but if possible to finde simple solution in WHS - do this.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant