Azure Cosmos DB Blog
The latest news, updates and technical insights from the Azure Cosmos DB team
Latest posts
Build a RAG application with LangChain and Local LLMs powered by Ollama
Local large language models (LLMs) provide significant advantages for developers and organizations. Key benefits include enhanced data privacy, as sensitive information remains entirely within your own infrastructure, and offline functionality, enabling uninterrupted work even without internet access. While cloud-based LLM services are convenient, running models locally gives you full control over model behavior, performance tuning, and potential cost savings. This makes them ideal for experimentation before running production workloads. The ecosystem for local LLMs has matured significantly, with several exce...
Scalable AI with Azure Cosmos DB – Video Series
Scalable AI in Action with Azure Cosmos DB – A Monthly Partner Showcase As AI continues to reshape industries, customers are seeking scalable, real-time solutions that integrate seamlessly with their existing data platforms. Azure Cosmos DB, with its global distribution, low latency, and multi-model support, is uniquely positioned to power intelligent applications at scale. To help customers explore what’s possible, we’re launching the Scalable AI in Action with Azure Cosmos DB series—a monthly video session that highlights how partners are building transformative AI solutions using Azure Cosmos DB and Azur...
Scaling multi-tenant Go applications: Choosing the right database partitioning approach
Multi-tenant applications face a fundamental challenge: how to efficiently store and query data for tenants of vastly different sizes? Consider the typical scenario where your platform serves both enterprise clients with hundreds of thousands of users, as well as small businesses with just a handful. With traditional database partitioning strategies you are likely to run into these common issues: Azure Cosmos DB has been a go-to solution for multi-tenant applications due to its global distribution, automatic scaling, and flexible data models. Its partition-based architecture naturally aligns ...
Integration testing for Go applications using Testcontainers and containerized databases
Integration testing has always presented a fundamental challenge: how do you test your application against real dependencies without the complexity of managing external services? Traditional approaches often involve either mocking dependencies (which can miss integration issues) or maintaining separate test environments (which can be expensive and difficult to manage consistently). Hello Testcontainers! Testcontainers solves this problem elegantly by providing a way to run lightweight, throwaway instances of databases, message brokers, web servers, and other services directly within your test suite. Instead of ...
Build reliable Go applications: Configuring Azure Cosmos DB Go SDK for real-world scenarios
When building applications that interact with databases, developers frequently encounter scenarios where default SDK configurations don't align with their specific operational requirements. They need to customize SDK behavior to address real-world challenges like network instability, performance bottlenecks, debugging complexity, monitoring requirements, and more. These factors become even more pronounced when working with a massively scalable, cloud-native, distributed database like Azure Cosmos DB. This blog post explores how to customize and configure the Go SDK for Azure Cosmos DB beyond its default settin...
Announcing Cosmos DB in Microsoft Fabric (Preview) with New Capabilities!
We’re excited to unveil the open Public Preview of Cosmos DB in Microsoft Fabric, now available to all users! Since our initial announcement at Microsoft Build 2025, we’ve introduced an array of powerful new features to enhance your data workflows. With this release, you can seamlessly access and analyze your operational data across the Fabric ecosystem. Leverage real-time intelligence, Copilot-powered Power BI, and SQL queries in OneLake—all without the hassle of managing multiple services. We’re committed to expanding integration support to help you get even more value from your data in Fabric. Why Cosm...
Building Event-Driven Go applications with Azure Cosmos DB and Azure Functions
The Go programming language is a great fit for building serverless applications. Go applications can be easily compiled to a single, statically linked binary, making deployment simple and reducing external dependencies. They start up quickly, which is ideal for serverless environments where functions are frequently invoked from a cold start. Go applications also tend to use less memory compared to other languages, helping optimize resource usage and reduce costs in serverless scenarios. Azure Functions supports Go using custom handlers, and you can use triggers and input and output bindings via extension bundl...
Latest NoSQL Java Ecosystem Updates: June 2024 – June 2025
Welcome to the latest roundup of key updates across the Azure Cosmos DB Java ecosystem! The largest external customers of Azure Cosmos DB API for NoSQL, running some of the biggest and most mission critical workloads in Azure, are primarily Java users! From powerful new AI integrations to improvements in the Java SDK, Spring Data, Spark, and Kafka connectors, the past year has been transformative for developers building cloud-native and AI-powered applications. It's never been easier or more powerful to build modern Java applications on Azure Cosmos DB! Stay tuned for more updates in the future. Happy coding! ...
Building a Modern Python API with Azure Cosmos DB: A 5-Part Video Series
I'm excited to share our new video series where I walk through building a production-ready inventory management API using Python, FastAPI, and Azure Cosmos DB NoSQL. This project demonstrates modern async patterns, clean architecture, and enterprise-grade features like batch operations and optimistic concurrency control. This builds on our Getting Started Series, check out those videos to grasp the fundamentals first. Video 1: Data Modeling with Pydantic In the first video, I dive deep into data modeling using Pydantic v2, showing how to create robust, type-safe models with built-in validation. The...

