Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Scalable + Secure Data with CosmosDB for Mobile

Sign in to queue

The Discussion

  • User profile image
    Paul

    Thanks for the show guys - good topic! Does Cosmos DB support off-line capability on mobile devices? If not, when are we likely to see this capability?

  • User profile image
    BMinnick

    @Paul: Thanks! For now, there is no out-of-the-box library to sync a local database to a Cosmos DB database. I've written a simple service that syncs a local database (in this case SQLite) to a remote cloud database, which could be a good starting point. Feel free to check it out!

     

  • User profile image
    ShardingKing

    Good episode on a topic I had thoughts on. I currently use Cosmos db but behind an api. My main concern with distributing access to Cosmos is that the pricing model is not only per request, the cost for each request varies based on the query statement. If I move to this model, I won't be able to control the cost of using Cosmos because my clients may make a large amount of requests or make more costly requests. Without centralizing access to Cosmos, I lose the ability to control these cost and access patterns without interrupting existing clients. Is this a concern I shouldn't be worried about?

  • User profile image
    rasmuschris​tensen

    Hello,

    Any reason cosmosdb is not using Shared Access Signature to avoid distributing the read key with your app? 

    https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1


  • User profile image
    Niner810749

    Why on earth would you store your cosmos db keys in the client app?   Doesn’t 90% of all apps need some sort of authentication?    Why no coding examples using Azure Ad B2c, Azure functions for resource tokens with Cosmos db?   Also you shouldn’t be putting  

Add Your 2 Cents