database architecture
AlloyDB rethinks database architecture for AI agents
Google Cloud proposes physically separating agent workloads from the transactional system while preserving fresh data, low latency, and elastic scaling.
Google Cloud has described a new AlloyDB architecture for agent workloads that need to query operational data in near real time without competing with the transactional system. The proposal starts from a simple but demanding idea: share the data that agents need, not the critical resources that keep production running.
The article organizes the design around three properties: isolation, latency, and scale. Isolation means agents can read a recent database state through a path that does not share components with the primary cluster. The latency target is sub-millisecond storage access even when a cache miss occurs. Scale addresses unpredictable bursts: compute nodes that appear within seconds, grow to thousands for a task, and disappear when the work is complete.
To achieve this, agents connect through the Model Context Protocol to an independent, ephemeral pool of microVM-based AlloyDB nodes. Those nodes read directly from Colossus storage segments separate from the ones used by production. The transactional cluster remains on dedicated, pre-provisioned infrastructure, while agent capacity can grow from zero and return to zero. The separation covers compute, networking, and storage, rather than only applying CPU quotas to a conventional replica.
That distinction matters because common patterns solve only part of the problem. Independent replicas provide isolation and predictable latency, but they take too long to provision for workloads that last seconds or minutes. Shared-storage servers make it easy to add compute, but they introduce direct competition for bandwidth and can affect the primary system. Object storage behind an intermediate cache reduces latency for hot data, but leaves a much slower tail on cache misses and does not scale access at the same rate as the agents.
Google says it evaluated the design with index lookups over a dataset larger than available memory. In its test, throughput increased from 3,900 to 41,000 queries per second when growing from one to ten nodes and remained nearly linear up to 1,000 nodes. The company also reports three million queries per second and more than eight million I/O operations per second in that configuration, with no measurable impact on the primary cluster. These are the provider’s own results, not a general guarantee for every database or application.
The architectural lesson extends beyond AlloyDB. Giving an agent access to live data should not mean giving it access to the same resource path used by the business. A robust design should separate the reasoning plane from the transactional plane, preserve the database engine’s indexes and capabilities, and make burst behavior explicit. Teams should also validate freshness, read-only permissions, burst costs, and failure handling before turning a reference architecture into a production dependency.

