The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
Is your feature request related to a problem? Please describe.
Muso's mRDT scale-up is scheduled for July. Muso's projection is that post-scale-up they will capture 10 photos per CHV per day, which would be several thousand images per day (3000?). There is reason to believe that after time this would cause some server-side bloating and potential slow-down. We would benefit from some sort of retention policy or hot/cold storage solution.
Describe the solution you'd like
We can consider having a cron script which removes old photos from CouchDB. Potentially moving them to AWS's glacier storage if they need to be retained.
Is your feature request related to a problem? Please describe. Muso's mRDT scale-up is scheduled for July. Muso's projection is that post-scale-up they will capture 10 photos per CHV per day, which would be several thousand images per day (3000?). There is reason to believe that after time this would cause some server-side bloating and potential slow-down. We would benefit from some sort of retention policy or hot/cold storage solution.
Describe the solution you'd like We can consider having a cron script which removes old photos from CouchDB. Potentially moving them to AWS's glacier storage if they need to be retained.