| published by | Doug Sillars |
|---|---|
| in blog | The New Stack |
| published date | 2026-12-03 |
| original entry | ScyllaDB on where AI agent workloads break databases |
As more organizations roll out and rely on agentic workloads, teams are seeing new demands across their cloud infrastructure. And databases are often a prime target — increased load, longer query times, and degraded performance.
So what should teams look for first before everything goes down? The New Stack recently spoke with Tzach Livyatan, VP of Product Strategy at ScyllaDB, about where agentic processes are causing breaking points in databases.
Livyatan begins his answer by pointing out that “most failures have warning signs and incremental degradation that lead to a breaking point where infrastructure decisions need to be made.”
Over time, request volume goes up, potentially driving costs higher and increasing P99 latency — the response time below which 99% of requests complete. Teams can find themselves needing to scale their DBs — and, as scaling adds to workloads and latency, further slowdowns.
So, what’s driving increased database load in the new AI economy? From smallest to largest, here is what Livyatan sees across the ecosystem:
Livyatan sees that third one — vibe-coded apps — as the largest driver of growth in database usage today. As more and more applications come online, more and more queries hit the database; P99 latency can go up as capacity gets stretched.
Consider an agent answering a customer question. It might retrieve relevant memories, look up account records, and save an intermediate result before deciding what to do next. A single user request can easily result in several database reads and writes. And if you run more agents simultaneously, the calls multiply.
The order of the agent calls also matters because when one lookup depends on another, the waiting time adds up. When an agent needs all the results from all parallel lookups, it still has to wait for the slowest response. That’s why a good average response time can still hide delays that hold up an entire task.
Other query types include text + semantic searches — combining keyword and vector search, sometimes within a single database. LLM responses can still take seconds (depending on the model and workload), even as real-time inference improves.
A feature store manages the input data, or features, used to train ML models and make predictions. For example, Tripadvisor holds your hotel preferences (foodie, adventurer, beach lover); Medium tracks the articles you read.
Livyatan describes two feature store usage patterns: online and offline. An online feature store is used to power inference on production sites: This data allows the AI models to provide the best possible suggestions to end users. To ensure fast responses, the database calls that serve features to the model must have extremely low latency. This is where a database like ScyllaDB comes in.
Offline stores are used for training new models. They often involve large, batched queries, so per-request latency is generally less critical than in online serving. IoT and self-driving car companies collect millions of rows of data, and retrain their models for better performance.
These workloads ask different things of storage: an online feature lookup might fetch a few values for one user, while a training job reads historical features across many users. Both need throughput, but online lookups have a much tighter response-time budget.
So, what actually breaks under AI load? As Livyatan notes, it isn’t a sudden failure, but the three breaking points he sees the most are:
As P99 starts climbing in step with your throughput, it’s time to start thinking about scaling. Are costs up because the database is overprovisioned? Or are the database charges per request? Is scaling causing slowdowns or downtime? Start by comparing request rates, P99 latency, timeouts, and retries over the same period.
Next, you can check whether the pressure is spread across the cluster or concentrated on one node or partition. A hot partition — data receiving a disproportionate share of requests — can create a bottleneck even when other nodes have spare capacity. That points to a data-distribution problem that simply adding nodes may not solve.
Livyatan says that “AI tooling requires high throughput at low latency, and that’s what ScyllaDB does. Even today, it’s very hard to build a distributed database for real-time applications.” (ScyllaDB development began in 2014.)
Livyatan adds: “ScyllaDB is a high-performance database designed for millions of queries at extremely low latencies.”
ScyllaDB’s Workload Prioritization lets teams assign relative resource shares to different workloads via service levels attached to database roles. An online feature lookup can receive a larger share than a background job reading training data would, and when the workloads are vying for the same resources, the latency-sensitive work will get more of the capacity. But the situation doesn’t create extra capacity; it just controls how those competing workloads share the resources.
ScyllaDB’s tablets enable fast scaling by dividing tables into smaller units that can move independently between nodes. When a new node joins the cluster, existing nodes stream data to it, and the database rebalances tablets in the background.
Adding machines is only part of scaling; moving data onto them is what lets them share the work. ScyllaDB has demonstrated scaling and rebalancing in minutes, though the time depends on data volume, hardware, and workload—useful for planned load (the Super Bowl commercial) and for unexpected spikes. ScyllaDB isolates background streaming from user queries to keep the database responsive while scaling.
If your AI workloads are growing, you need a real-time database for AI that can handle the strict latency demands and high loads that arise from AI tooling. Know your breaking point before a new app finds it.
Learn how ScyllaDB can help you handle real-time AI demand.
YOUTUBE.COM/THENEWSTACK
Tech moves fast, don't miss an episode. Subscribe to our YouTube channel to stream all our podcasts, interviews, demos, and more.