What is our primary use case?
My main use cases for Microsoft Azure Cosmos DB involve real-time analysis, where we store information inside Microsoft Azure Cosmos DB as a speed layer, and this use case is now in production. We do analysis with Synapse, and I currently use Microsoft Azure Cosmos DB with a generative application for an agent, serving as the memory cache for the agents. Additionally, we utilize it for user information, such as user settings, and also for microservices applications to store information about products or entities within the customer platform.
In our project, we use Microsoft Azure Cosmos DB for all things related to AI. We utilize it as an object store for tool calling for agents, where we store the results of information that the agents call from the MCP server. This capability helps our agents retrieve information and provide context to the workflow, as well as the reasoning of the model for the agents. Furthermore, another implementation of Microsoft Azure Cosmos DB is for the conversational layer of our application, which involves conversation feedbacks and all types of user information, being essential for the context of our agents and our model.
What is most valuable?
The features of Microsoft Azure Cosmos DB that I appreciate the most include the CRUD feature: create, read, update, and delete. This feature operates within a logic partition and is fully hosted by Azure, and my colleagues and I understand the primary key which is most usable within our context for utilizing this CRUD feature effectively.
Microsoft Azure Cosmos DB's ability to search through large amounts of data is very useful because it is highly responsive and performs queries faster than other types of databases such as SQL or SQLite, largely due to our capability to index the fields within the document.
We integrate Microsoft Azure Cosmos DB with Azure Kubernetes Services, Azure Functions, and Azure Container Apps, which I find very useful. For instance, Azure Functions provide a trigger for an event when a row is updated or inserted within the Microsoft Azure Cosmos DB container.
What needs improvement?
A way Microsoft Azure Cosmos DB could be improved is through the introduction of an access control list on a row and on a specific field within the document, rather than relying on application-level coding to manage different access control lists.
For how long have I used the solution?
I have been using Microsoft Azure Cosmos DB for three years.
What do I think about the stability of the solution?
The latency of Microsoft Azure Cosmos DB is very good, and the service responds accurately, with high availability of data and backup, which is critical for us when our application is in production.
What do I think about the scalability of the solution?
Microsoft Azure Cosmos DB scales workloads effectively, and when I set the scaling to automatic, it responds quickly and performs very well.
How are customer service and support?
I have not had any direct contact with customer support for Microsoft Azure Cosmos DB. However, I have found that support for other services such as Azure Functions is very prompt and effective, with people responding quickly and providing valuable assistance.
How would you rate customer service and support?
Which solution did I use previously and why did I switch?
In my company, I have not used another kind of NoSQL implementation before utilizing Microsoft Azure Cosmos DB.
What was our ROI?
I can tell you that there has been a thirty percent reduction in costs and operational efforts, with reductions also reaching up to fifty percent and forty percent in different instances.
What's my experience with pricing, setup cost, and licensing?
I find Microsoft Azure Cosmos DB's pricing model correct and aligned with my budget expectations. For all the use cases with my customer, I see considerable potential to arrange a budget for this type of service.
The dynamic autoscale or serverless model of Microsoft Azure Cosmos DB has indeed helped reduce our costs and operational effort by allowing us to scale horizontally in a straightforward manner according to our needs. For example, when the workload increases, we can easily scale manually, and we can also set a threshold for scaling to ensure maximum performance for the service.
Which other solutions did I evaluate?
My company has not considered switching to other products.
What other advice do I have?
I am using Microsoft Azure Cosmos DB for both AI and real-time applications.
I have not used Microsoft Azure Cosmos DB's built-in vector or hybrid search because our clients prefer to use MongoDB with the RU feature. Therefore, I do not use Vector DB in production; however, I have utilized the Vector Database in simpler cases based on my experience. In other scenarios, we resort to AI Search because our clients opt for Azure AI Search.
In terms of my team's experience developing with Microsoft Azure Cosmos DB SDKs and APIs, I primarily use only the SDK and not the APIs, as the SDK fulfills all our requirements for the deployment lifecycle. I rely heavily on the SDK, for example, to create indices within a container during production maintenance and for configuring the release of our code to production. Creating indices and managing the container is very simple with the SDK, which I find is excellent for Microsoft Azure Cosmos DB for NoSQL, although I notice that the Mongo SDK does not integrate as effectively for this type of database.
Microsoft Azure Cosmos DB's dynamic scaling has indeed contributed to decreasing our operational overhead costs.
My advice to other companies considering switching to Microsoft Azure Cosmos DB is that the SDK makes it very simple to create a container or a database, and managing it, including backup and restoring to a previous data point, is very straightforward. I rated this product with a nine out of ten.
Which deployment model are you using for this solution?
Public Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Microsoft Azure