akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Survey response submission improvements #2416

Closed muloem closed 4 years ago

muloem commented 6 years ago

For devices that are online when form responses are submitted, we first post a zipped JSON of the form responses to S3 and then request the backend to retrieve this file, process it, then store the contents in the datastore. Given that devices are online anyway, it seems unnecessary to have the extra level of indirection with the zip files on S3. In addition, once the data is in the datastore, it is updated by data cleaning and online editing such that the state of the zip file is no longer valid.

We are considering the possibility of eliminating the zip file for online devices (https://github.com/akvo/akvo-flow-mobile/issues/978, https://github.com/akvo/akvo-flow-mobile/issues/977) and making a post request directly to the backend. And only use AWS to store image files.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.