drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Add a ‘composite’ cloud file system #110

Closed drewmccormack closed 9 years ago

drewmccormack commented 10 years ago

It should be possible to have a cloud file system composed of multiple other cloud file systems. It would try to use the component systems, and report results for any that worked. It would merge results as needed.

In this way, you could have sync via a service like iCloud, but also local network sync or multi peer.

drewmccormack commented 10 years ago

This might not be a good idea. It could be tricky. If you list files, and only one file system has the a file, what should happen? Ensembles will not upload the file, because it thinks it is already there. The composite system would have to copy the file to the other file systems.

It may just be easier to say that if you want to do this, you setup two ensembles for one store. I think that will work.