{"id":3617,"date":"2021-09-20T22:52:28","date_gmt":"2021-09-20T17:22:28","guid":{"rendered":"https:\/\/lgconsultancy.wpcomstaging.com\/?p=3617"},"modified":"2022-12-04T15:16:25","modified_gmt":"2022-12-04T15:16:25","slug":"azure-cosmos-db","status":"publish","type":"post","link":"https:\/\/lng-consultancy.com\/staging\/5474\/azure-cosmos-db\/","title":{"rendered":"Azure Cosmos DB"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Azure Cosmos DB is a fully managed globally distributed multi master replication NoSQL database. Its\u2019s designed for high scale global replication low latency database. \u00a0It has excellent response times and 99.999% availability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Key Features<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Global Distribution:<\/strong> Distributed across all major regions in Azure across the globe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Regional Presence:<\/strong> It is available in all regions where Azure is available.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>High Availability:<\/strong> 99.999 availability for both read and write.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Guaranteed Low Latency:<\/strong> Azure Cosmos DB guarantees 10 milliseconds latency for both reads and writes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Consistency option:<\/strong> Choose the right balance between performance and consistent replication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Multiple API:<\/strong> Most important features of Cosmos DB is support of multiple API\u2019s. Following APIs are supported by Cosmos DB.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SQL API<\/li>\n\n\n\n<li>MongoDB API<\/li>\n\n\n\n<li>Cosmos DB Table API<\/li>\n\n\n\n<li>Cassandra API<\/li>\n\n\n\n<li>Graph API<\/li>\n\n\n\n<li>Gremlin API<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Azure Cosmos DB consistency levels<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Relational databases always offer strong consistency at the expense of speed and scale. Cosmos DB offers flexibility in this regard, allowing you to select any of five data consistency levels:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Strong:<\/strong> Reads are guaranteed to return the most recently committed version of an item. This level is the slowest-performing but most accurate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Bounded Staleness, Session, and Consistent Prefix:<\/strong> These consistency levels adjust between performance and consistent query results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Eventual:<\/strong> Reads have no ordering guarantee. This choice is the fastest but least accurate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Partitioning and horizontal scaling<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/lng-consultancy.com\/staging\/5474\/azure-cloud-development\/\">Azure<\/a> Cosmos DB uses partitioning to scale individual containers in a database to meet the performance needs of your application. Data is stored in <strong>physical<\/strong> partitions, which consist of a set of replicas, also referred to as replica sets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For each container, you\u2019ll need to configure a partition key. Azure Cosmos DB will use that key to group items together. Partition key values are hashed, and Cosmos DB uses that hash to identify the <strong>logical<\/strong> partition the data should be stored in. Internally, one or more logical partitions are mapped to a physical partition.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Application that benefits from Azure Cosmos DB<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Any web, mobile, gaming, and IoT application that needs to handle massive amounts of data, reads and writes at a global scale for a variety of data will benefit from Cosmos DB.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Azure Cosmos DB Pricing Model<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Azure Cosmos DB have two modes in which the database services are billed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Database Operations:<\/strong> \u00a0Whenever you run queries on your NoSQL database, some resources are always being used. Azure terms these usages in terms of Request Units or RU. The amount of RU consumed per second is aggregated and billed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Consumed Storage:<\/strong> \u00a0\u00a0As you start storing data in your database, it will take up some space in order to store that data. This storage is billed per the standard SSD-based storage across any Azure locations globally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure Cosmos DB is a fully managed globally distributed multi master replication NoSQL database. Its\u2019s designed for high scale global replication low latency database. \u00a0It has excellent response times and 99.999% availability. Key Features Global Distribution: Distributed across all major regions in Azure across the globe. Regional Presence: It is available in all regions where [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":7279,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3617","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Azure Cosmos DB - L&amp;G Consultancy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lng-consultancy.com\/azure-cosmos-db\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Azure Cosmos DB - L&amp;G Consultancy\" \/>\n<meta property=\"og:description\" content=\"Azure Cosmos DB is a fully managed globally distributed multi master replication NoSQL database. Its\u2019s designed for high scale global replication low latency database. \u00a0It has excellent response times and 99.999% availability. Key Features Global Distribution: Distributed across all major regions in Azure across the globe. Regional Presence: It is available in all regions where [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lng-consultancy.com\/azure-cosmos-db\/\" \/>\n<meta property=\"og:site_name\" content=\"L&amp;G Consultancy\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-20T17:22:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-04T15:16:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lng-consultancy.com\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"prasanna1983\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"prasanna1983\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/\"},\"author\":{\"name\":\"prasanna1983\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/4c21b138fe56febd6dea51085270d544\"},\"headline\":\"Azure Cosmos DB\",\"datePublished\":\"2021-09-20T17:22:28+00:00\",\"dateModified\":\"2022-12-04T15:16:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/\"},\"wordCount\":450,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/\",\"url\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/\",\"name\":\"Azure Cosmos DB - L&amp;G Consultancy\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1\",\"datePublished\":\"2021-09-20T17:22:28+00:00\",\"dateModified\":\"2022-12-04T15:16:25+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/4c21b138fe56febd6dea51085270d544\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/azure-cosmos-db\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lng-consultancy.com\\\/staging\\\/5474\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Azure Cosmos DB\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#website\",\"url\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/\",\"name\":\"L&amp;G Consultancy\",\"description\":\"Your Technology Partner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/4c21b138fe56febd6dea51085270d544\",\"name\":\"prasanna1983\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g\",\"caption\":\"prasanna1983\"},\"url\":\"https:\\\/\\\/lng-consultancy.com\\\/staging\\\/5474\\\/author\\\/prasanna1983\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Azure Cosmos DB - L&amp;G Consultancy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/","og_locale":"en_US","og_type":"article","og_title":"Azure Cosmos DB - L&amp;G Consultancy","og_description":"Azure Cosmos DB is a fully managed globally distributed multi master replication NoSQL database. Its\u2019s designed for high scale global replication low latency database. \u00a0It has excellent response times and 99.999% availability. Key Features Global Distribution: Distributed across all major regions in Azure across the globe. Regional Presence: It is available in all regions where [&hellip;]","og_url":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/","og_site_name":"L&amp;G Consultancy","article_published_time":"2021-09-20T17:22:28+00:00","article_modified_time":"2022-12-04T15:16:25+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/lng-consultancy.com\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg","type":"image\/jpeg"}],"author":"prasanna1983","twitter_card":"summary_large_image","twitter_misc":{"Written by":"prasanna1983","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#article","isPartOf":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/"},"author":{"name":"prasanna1983","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/4c21b138fe56febd6dea51085270d544"},"headline":"Azure Cosmos DB","datePublished":"2021-09-20T17:22:28+00:00","dateModified":"2022-12-04T15:16:25+00:00","mainEntityOfPage":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/"},"wordCount":450,"commentCount":0,"image":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lng-consultancy.com\/azure-cosmos-db\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/","url":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/","name":"Azure Cosmos DB - L&amp;G Consultancy","isPartOf":{"@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#primaryimage"},"image":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1","datePublished":"2021-09-20T17:22:28+00:00","dateModified":"2022-12-04T15:16:25+00:00","author":{"@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/4c21b138fe56febd6dea51085270d544"},"breadcrumb":{"@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lng-consultancy.com\/azure-cosmos-db\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#primaryimage","url":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1","contentUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/lng-consultancy.com\/azure-cosmos-db\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lng-consultancy.com\/staging\/5474\/"},{"@type":"ListItem","position":2,"name":"Azure Cosmos DB"}]},{"@type":"WebSite","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#website","url":"http:\/\/sh024.global.temp.domains\/~landgcon\/","name":"L&amp;G Consultancy","description":"Your Technology Partner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/sh024.global.temp.domains\/~landgcon\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/4c21b138fe56febd6dea51085270d544","name":"prasanna1983","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4420d24cfe33acd567b152eebf4add73672c96086072e42f2feb467849fc30e?s=96&d=mm&r=g","caption":"prasanna1983"},"url":"https:\/\/lng-consultancy.com\/staging\/5474\/author\/prasanna1983\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2021\/09\/Untitled-design-14.jpg?fit=1200%2C628&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/3617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/comments?post=3617"}],"version-history":[{"count":2,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/3617\/revisions"}],"predecessor-version":[{"id":9021,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/3617\/revisions\/9021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/media\/7279"}],"wp:attachment":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/media?parent=3617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/categories?post=3617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/tags?post=3617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}