Azure: Cosmos DB vs Document DB

Azure Cosmos DB is the globally distributed, multi-model database service for building planet scale apps. You can easily build globally-distributed applications without the hassle of complex, multiple-datacenter configurations. Cosmos DB automatically replicates all of your data to any number of regions of your choice, for fast, responsive access. Cosmos DB guarantees 99.99% high availability.

Only Cosmos DB allows you to use key-value, graph, and document data in one service.

 

One of the APIs Azure Cosmos DB supports is the SQL (DocumentDB) API.

That means Document DB service is now part of Cosmos DB services. Cosmos DB also allows you to use your favorite API like JavaScriptGremlinMongoDB, and Azure Table storage to query your data.

https://azure.microsoft.com/en-in/blog/dear-documentdb-customers-welcome-to-azure-cosmos-db/ is a good link to read further.

 

Advertisements

Azure Fabric service

To build always-on, scalable, distributed applications in azure from your development machine, you need to ensure right tools are already installed.

This blog is to install tools for VS 2017.

While installing or modifying VS 2017 on your development machine ensure option ‘Azure development’ is checked on.

Azure Components in VS 2017

Apart from this you need Microsoft Azure Service Fabric SDK on your machine. The SDK gets installed using Web installer 5.0. The link for SDK is:

MicrosoftAzure-ServiceFabric-CoreSDK

 

Fabric SDK installation step

 

Fabric SDK installation step succeed

Visual studio is now ready to allow you create service fabric applications.

Goto File–>New–>Project–>Cloud

Visual studio 2017 Service Fabric template

Choose the service you want to create:

Visual studio 2017 Service Fabric template selection

What is DSC?

DSC stands for Desired State Configuration. Its a declarative language that works on top of PowerShell.

DSC was introdcured in Powershell 4.0.

It can do system configuration, software deployment, Configuration validation, enforce compliance activities for you.

Not only the Windows O/s configuration DSC can do the Linux machine configurations for you. Further more these configuration may be used in conjunction with Automation frameworks like Chef, puppet, azure etc..

 

Amazing!!