grassrootseconomics / cic-ussd

A USSD client implementation that interfaces with the community inclusion currencies custodial system.
GNU Affero General Public License v3.0
1 stars 2 forks source link

rebuild all cache components if redis goes aways. #27

Closed mango-habanero closed 1 year ago

mango-habanero commented 1 year ago

A good case for stability is testing against cases where Redis is completely purged. In this case, there should be a way to rebuild the cache layer components as well as provide fallback functionality to rely on source definitions of these objects. At present, the affected components would be:

The idea is to alter these such that in the vent of Redis' failure they will fallback to graph and ussd db for retrieval