# Genspark protects live agent sessions with Azure Cosmos DB Global Secondary Indexes

DevFeed: [Genspark protects live agent sessions with Azure Cosmos DB Global Secondary Indexes](<https://devfeed.tech/articles/genspark-protects-live-agent-sessions-with-azure-cosmos-db-global-secondary-indexes-63194.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cosmosdb/genspark-protects-live-agent-sessions-with-azure-cosmos-db-global-secondary-indexes/>)

Author: Azure Cosmos DB Team

Published: 2026-10-01T16:00:12Z

Content type: article

Language: en

Sources: [Azure Cosmos DB Blog](<https://devfeed.tech/sources/azure-cosmos-db-blog.md>)

Topics: [Azure](<https://devfeed.tech/topics/azure.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [hosting](<https://devfeed.tech/topics/hosting.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [azure-cosmos-db](<https://devfeed.tech/tags/azure-cosmos-db.md>), [azure-cosmos-db-for-nosql](<https://devfeed.tech/tags/azure-cosmos-db-for-nosql.md>), [build](<https://devfeed.tech/tags/build.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [global](<https://devfeed.tech/tags/global.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [sessions](<https://devfeed.tech/tags/sessions.md>)

## AI overview

Genspark describes using Azure Cosmos DB Global Secondary Indexes to route selected read-heavy background processes away from the capacity used by live AI agent sessions. The index stays synchronized through change feed, and the team evaluated whether each process could tolerate eventual consistency before moving it. The approach provided workload isolation without requiring a separate replication system to operate.

## Source excerpt

The work does not end when the prompt does A user comes to Genspark with a goal: research a market, build a presentation, produce a report, analyze a dataset, or complete another complex assignment. Our agents take it from there, working across tools, sources, and multiple steps until the user has a finished result. The [...] The post Genspark protects live agent sessions with Azure Cosmos DB Global Secondary Indexes appeared first on Azure Cosmos DB Blog.