Offline first, eventually everywhere.
Storing images and videos in MongoDB objects is technically possible, but in order for any mobile application to scale well, robust asset management is a must. CoSync AssetLink takes the headache out of storing, uploading, assigning urls, updating objects and syncing assets between all of your users’ devices.
Store the asset locally and write the local file url to a CoSync AssetLink MongoDB object with a status of local. When the device has signal, CoSync AssetLink takes care of the rest.
CoSync uploads the assets to your Amazon AWS S3 instance and updates your object URLs and updates the object status to completed when assets are ready to sync between devices.
If your application needs assets to expire after a given amount time, COSYNC can also take care of asset management and updating your objects to reflect the availability of your assets.