We are rebuilding an on premise application using microservices and are wondering how to implement data autonomy given certain constraints that we are facing:
The application is built around a set of files that it needs to keep in sync with the cloud service. We have very limited bandwidth available, and so we have to make use of the existing functionality were we send a CRC of the current files and receive a patch to update the contents of the folder.
- Is it reasonable to give the services direct access to a sub folder that contains the data it should own?
- Is it reasonable to have a separate service in charge of patching all the data, or should we strive to make each service responsible for patching its own data?
Here is a contrived example of what we are building: