Sync Cached Data With Cosmos DB Using Ncache

Gowtham K

By Gowtham K

Introduction

What is CosmosDB?

Azure Cosmos DB is a fully managed and globally distributed multi-model cloud-based NoSQL database service. It is fully managed because of its simplicity of deployment and comprehensive service level agreements (SLAs) from Microsoft. It supports flexible JSON format which means it supports unstructured and JSON data and easy to store data with very less code.

Common use cases of CosmosDB

  • IoT – To ingest, process and store data
  • Gaming – used in social media integration, high-score leaderboards and many other
  • Retail and marketing – For storing lookup data, event sourcing in order processing pipelines
  • Web and Mobile Application – Integrating with third-party services, storing data and personalization
Read full Article

NCache with CosmosDB

We can further enhance or scale up the performance of CosmosDB with NCache. NCache is an Open Source in-memory distributed cache for .NET, Java, and Node.js. NCache is extremely fast and linearly scalable and caches application data to reduce expensive database trips. NCache sits much closer to your application and hence is much faster to access.

From this article, you will learn how to integrate distributed caching into your Azure Cosmos DB application by using NCache and data sync between Azure Cosmos DB and NCache using Azure functions.

Read full Article
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.