AI dev tools —

AI agent workloads drive DB load via memory, requests, and vibe-coded apps

The challenges facing cloud infrastructure teams are escalating as more enterprises integrate and depend upon agentic workloads, and the analysis from ScyllaDB, which was first published on The New…

AI agent workloads drive DB load via memory, requests, and vibe-coded apps

The challenges facing cloud infrastructure teams are escalating as more enterprises integrate and depend upon agentic workloads, and the analysis from ScyllaDB, which was first published on The New Stack, details where these AI agent processes cause database failures.

Database systems are frequently a primary point of stress under the increased demands generated by these agentic processes, experiencing issues such as elevated loads, extended query durations, and overall performance degradation. To proactively identify potential failure points, The New Stack recently engaged Tzach Livyatan, who serves as VP of Product Strategy at ScyllaDB, to discuss the specific points of failure caused by agentic processes in databases. Mr. Livyatan initiated his remarks by observing that "most failures have warning signs and incremental degradation that lead to a breaking point where infrastructure decisions need to be made." As usage escalates, request volumes increase, which can subsequently drive up expenditure and heighten P99 latency—the response time below which 99% of all requests are finalized. This situation can compel teams to increase the capacity of their databases, and since scaling itself contributes to the overall workload and latency, it can precipitate further performance declines.

Regarding the drivers of heightened database load within the emerging AI economy, Mr. Livyatan outlined several factors, ranging from minor to substantial, across the technical ecosystem. One contributing element is agent memory; numerous agents store their memory within low-latency databases, querying this memory as they execute commands. ScyllaDB offers compatibility with Mem0 via its Vector Search integration for this purpose. Another factor involves agent requests: when an agent is prompted with a question, it initiates a sequence of calls to various databases, and more complex inquiries necessitate a greater number of these calls. As the deployment of agents expands, the total volume of queries increases. Finally, the rise of "vibe-coded apps" is noted, where development teams accelerate application creation by employing coding agents. With the daily influx of new applications, the sheer quantity of database interactions grows substantially, and Mr. Livyatan identifies this third category—vibe-coded apps—as the most significant catalyst for growth in database utilization today. As more applications become operational, more queries impact the database, and capacity constraints can cause P99 latency to rise. For instance, when an agent addresses a customer query, it might need to retrieve pertinent memories, look up account details, and save an intermediate outcome before determining its next course of action; a single user request can easily necessitate multiple database reads and writes. Furthermore, if multiple agents are operating concurrently, the number of calls multiplies. The sequence of these agent calls is also significant because if one lookup is contingent upon another, the waiting period accumulates. When an agent awaits the results from several parallel lookups, it must wait for the slowest response among them; this illustrates why a seemingly adequate average response time might still mask underlying delays that impede the completion of an entire task. Additional types of queries include text and semantic searches, which integrate keyword and vector searching, sometimes within a single database instance. Even with advancements in real-time inference, Large Language Model responses can still require several seconds.

Concerning the feature store, which manages the input data, or features, utilized for training machine learning models and generating predictions, Mr. Livyatan delineated two distinct usage patterns: online and offline. An online feature store is employed to support inference on live production systems, providing AI models with the necessary data to offer optimal suggestions to end users; to ensure rapid responses, the database calls serving features to the model must exhibit extremely low latency, a scenario where a database like ScyllaDB is applicable. Offline stores, conversely, are used for training novel models, typically involving extensive, batched queries, meaning that per-request latency is generally less critical than it is during online serving. Companies in the IoT and autonomous vehicle sectors, for example, gather millions of data records and retrain their models for enhanced performance; these workloads impose different requirements on storage: an online feature retrieval might fetch a few values for a single user, whereas a training job reads historical features spanning numerous users. While both require throughput, the online lookups operate under a significantly stricter constraint on response time.

Mr. Livyatan identified three specific failure modes that manifest under AI load, emphasizing that these are not sudden catastrophic failures but rather predictable breakpoints: Cost, Tail latency, and Scaling under unpredictable load. The cost issue arises because the increased database queries from agentic tooling can lead to substantial database expenditures when utilizing pay-per-request pricing; for example, DynamoDB bills users per request, and Yieldmo discovered cost reductions by migrating to ScyllaDB while contending with rising expenses and cross-cloud deployment complexities. Tail latency manifests as throughput begins to saturate the database, causing P99 latency to gradually increase, thereby slowing down applications and agents; Mr. Livyatan stated, "This is very hard to fix." The third point, scaling under unpredictable load, becomes problematic when a newly launched vibe-coded application or agentic product unexpectedly overwhelms the database, or when an advertising campaign achieves viral success, causing the database to throttle or forcing teams into risky scaling procedures to maintain operations. This situation forces operational teams to dedicate time to "Day-2 ops (scaling and backups)."

When P99 latency begins to rise in correlation with throughput, it signals the appropriate time to commence an assessment of scaling needs. Teams should investigate whether rising costs stem from over-provisioning the database or from the per-request charges. Furthermore, they must determine if scaling efforts are resulting in slowdowns or outright downtime. A prudent initial step involves comparing request rates, timeouts, retries, and P99 latency across an identical timeframe. Subsequently, one should verify if the load pressure is distributed evenly across the cluster or if it is concentrated on a singular node or partition. A "hot partition"—a segment of data receiving a disproportionate amount of requests—can create a bottleneck even when other nodes possess available capacity, indicating a data-distribution issue that simple node addition may fail to resolve.

Mr. Livyatan asserts that "AI tooling requires high throughput at low latency, and that's what ScyllaDB does," adding that "Even today, it's very hard to build a distributed database for real-time applications." (ScyllaDB development commenced in 2014.) He further elaborated that "ScyllaDB is a high-performance database designed for millions of queries at extremely low latencies." ScyllaDB's Workload Prioritization capability allows organizations to assign relative resource shares to different workloads through service levels tied to database roles; for example, an online feature lookup can be granted a larger resource share than a background job retrieving training data, ensuring that latency-sensitive tasks receive prioritized capacity when workloads compete for the same resources, though this mechanism manages resource sharing rather than creating additional capacity. ScyllaDB utilizes tablets to facilitate rapid scaling by segmenting tables into smaller units that can migrate independently between nodes. When a new node joins the cluster, existing nodes stream data to it, and the database rebalances these tablets in the background; while adding hardware is part of scaling, the actual movement of data onto those machines is what enables shared workload distribution. ScyllaDB has shown the ability to complete scaling and rebalancing in minutes, though the duration is contingent upon data volume, hardware specifications, and the nature of the workload—a capability useful for both anticipated loads (such as a Super Bowl commercial) and unforeseen traffic surges. To maintain responsiveness during scaling, ScyllaDB isolates background streaming operations from user queries. Given the expansion of AI workloads, organizations require a real-time database specifically designed for AI that can manage the stringent latency requirements and high loads introduced by AI tooling; therefore, understanding one's breaking point before a new application encounters it is critical.

These developments highlight a broader trend where the operational demands of advanced AI applications are pushing the boundaries of traditional data infrastructure capabilities. Market participants and institutions are increasingly needing database platforms capable of handling the unique, high-concurrency, low-latency profiles demanded by agentic software layers.

Why it matters

For infrastructure operators, these trends highlight that AI adoption is creating new, complex pressure points on database performance and cost models. Teams must monitor P99 latency and request rates closely to preemptively address saturation before service degradation occurs. This signals a need to re-evaluate current database provisioning strategies for AI-driven applications.

Earlier coverage

Reported by The New Stack.

ai-devtoolscloud

Related coverage

Elsewhere in this edition