Azure Cosmos DB Blog

The latest news, updates and technical insights from the Azure Cosmos DB team

Latest posts

Scaling multi-tenant Go applications: Choosing the right database partitioning approach
Jul 28, 2025
Post comments count 0
Post likes count 1

Scaling multi-tenant Go applications: Choosing the right database partitioning approach

Abhishek Gupta
Abhishek Gupta

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
Jul 21, 2025
Post comments count 0
Post likes count 2

Integration testing for Go applications using Testcontainers and containerized databases

Abhishek Gupta
Abhishek Gupta

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
Jul 17, 2025
Post comments count 0
Post likes count 1

Build reliable Go applications: Configuring Azure Cosmos DB Go SDK for real-world scenarios

Abhishek Gupta
Abhishek Gupta

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!
Jul 14, 2025
Post comments count 0
Post likes count 0

Announcing Cosmos DB in Microsoft Fabric (Preview) with New Capabilities!

Jilene Maldonado
Jilene Maldonado

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
Jul 11, 2025
Post comments count 0
Post likes count 1

Building Event-Driven Go applications with Azure Cosmos DB and Azure Functions

Abhishek Gupta
Abhishek Gupta

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
Jun 30, 2025
Post comments count 0
Post likes count 0

Latest NoSQL Java Ecosystem Updates: June 2024 – June 2025

Theo van Kraay
Theo van Kraay

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
Jun 6, 2025
Post comments count 0
Post likes count 1

Building a Modern Python API with Azure Cosmos DB: A 5-Part Video Series

Gwyneth Peña-Siguenza
Gwyneth Peña-Siguenza

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...

Powering Real-Time Messaging at Scale with Azure Cosmos DB
May 30, 2025
Post comments count 0
Post likes count 1

Powering Real-Time Messaging at Scale with Azure Cosmos DB

Surendra Singh
Surendra Singh

Microsoft Teams, Copilot, Azure Communication Services and many other product offerings from Microsoft, rely on a unified messaging platform that powers real-time communication and collaboration at an unprecedented scale. This messaging platform has become critical for enabling boundary-less collaboration, supporting hundreds of millions of users worldwide. To ensure global discovery, durable storage and performance needed for real time communication, the messaging platform relies on Azure Cosmos DB as one of its data storages. It has data distributed in most Azure regions, has several Petabytes of data and perfo...

Building Multi-Agent AI Apps in Java with Spring AI and Azure Cosmos DB!
May 29, 2025
Post comments count 0
Post likes count 0

Building Multi-Agent AI Apps in Java with Spring AI and Azure Cosmos DB!

Theo van Kraay
Theo van Kraay

As AI-driven apps become more sophisticated, there's an increasing need for them to mimic collaborative problem solving - like a team of domain experts working together. Multi-agent apps offer exactly that: collections of specialized agents that cooperate to handle complex tasks. But to make them production-grade, you need more than just clever prompts - you need structure, orchestration, memory, and insight. In this blog, we will walk through the multi-agent-spring-ai sample - a full-stack example of how to build a custom multi-agent orchestration framework using Spring AI, Azure Cosmos DB, and Azure OpenAI. ...