Offline version for mobile devices
Like cloudant and couchbase. To be able to have local storage which can sync with the cloud once we get a network conneciton.
It should be connection agnostic, use in the same manner if connected or not.
We are currently reviewing this for future inclusion on our roadmap. Will update here on status as this progresses.
Thank you for your suggestion
Zakeel Muhammad commented
The App Center Team has been collaborating with the Cosmos DB team to provide the functionality requested in this thread! We recently released a new service in public preview called App Center Data.
App Center Data enables you to persist, manage, and sync data both online and offline for mobile devices. We currently support iOS, Android, and Xamarin. I've recently written up a blog post on App Center Data outlining what this new service does and also detailed our roadmap!
Tim Sexton commented
We are looking into using Cosmos DB / Gremlin API for our customer solutions but the lack of offline capabilities may turn us away.
Thomas, Robert commented
We need this for checking in attendees at events/sessions. If the venue looses connectivity, we need to be able to operate until it is restored.
Angus Johnston commented
CHECK - THIS - OUT....!!
Angus Johnston commented
Provide offline sync for Cosmos DB and watch the dev masses (particularly mobile) flock to Azure.
Boris Tarasov commented
Azure Cosmos DB Team
This is important feature for all kinds of enterprise solutions and unless it is supported companies will embrace other solutions.
Andrew Hoefling commented
We need a better mechanism for handling offline data with Azure. The current out of the box solutions don't really work except on small scale projects.
Sounds like this would be the solution to that
Rodney Littles II commented
Having used Microsoft Sync Framework on a previous project, my understanding is as long as you abstract the server side, and respect the Id, CreatedAt, UpdatedAt, Deleted flags on the IDataObject, everything should just work. So if you wanted to get this working with Cosmos DB, you technically can. I think I am going to give that a try, determine the effort and report back.
Sowmyan Soman commented
FYI AWS provides similar feature with many databases support including dynamodb.
Would also be useful for my organization as well.
David Azofeifa commented
Edward Xiao commented
I am a big fan of Azure Cosmos Document DB. Now I am forced to move to Firebase Firestore (the competitor of Cosmos Docdb). They have offline mobile capability.
Jeremy Whiteley commented
Why isn't this being planned?
Can you use the Azure Mobile Client SDK offline sync now that Cosmos DB supports table storage?
No offline, no mobile. Cosmos DB is currently barred from entering an entire eco-system.
Jeff Jorczak commented
Since they now have DocumentDB Emulator it seems like it should be possible for them to leverage this to deliver this need. But like others, CosmosDB is not a viable solution for a mobile app without this feature.
Customers to Microsoft - "We need offline capabilities with sync, like others provide"
3 years later - 'no, go use Firebase'.
Seriously, it doesn't matter how well you can scale CosmosDB if it doesn't support widely required basic functionality.
99% of cutting edge projects and tutorials out there are ignoring Microsoft. They never even mention anything Microsoft, apart from 'not supported in IE11 / Edge'. You are losing ground rapidly.
"This is not in our current backlog. However, we are constantly evolving and adding more features."
So basically, the Microsoft advice is 'use a competitors product that supports what is generally considered to be a must have feature, because we wont implement it',
So, once again I am pushed away from Cosmos DB to Firebase.
It's becoming increasingly difficult to recommend Azure to my clients.
More and more, Microsoft seem to be giving up on leadership, and are losing ground to even relative newcomers such as Google Cloud Platform.
Offline sync is a no-brainer in a world where mobile first is taken for granted. How can Microsoft preach mobile-first, but then not provide the features in Microsoft products to actually support it, leaving developers no option but to go elsewhere?
There are some very strange decisions being made at Microsoft these days.
One way of making mobile apps faster is using faster databases (CosmosDB vs. SQL databases).
And online-offline sync is the way to go these days. In many use cases today the ability to use the app without internet connection is not an option anymore, its the difference between an useful and an useless app. Other competitors are already up and running with these capabilities. We just can't stay behind (right :-))