OriginProtocol / origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
MIT License
15 stars 7 forks source link

Add retry/error handling logic to the indexing service #62

Closed franckc closed 6 years ago

franckc commented 6 years ago

Currently the indexer service does not have any retry/error handling when calling the Notifier and SearchIndexer modules. Any error causes the celery task running the indexing service to error out.

We should assume that transient failures will happen at some point when attempting to send mobile notifications or indexing the data in the search engine.

In the short-term, one idea could be to implement retries with exponential back-off and a maximum number of retries before giving up. In the longer-term, a possibility is to have separate task queues for each type of indexing module (notifier, search , etc...) in order to provide failure isolation.

tomlinton commented 6 years ago

Closed because origin-bridge no longer handles indexing.