ABase: the Multi-Tenant NoSQL Serverless Database for Diverse and Dynamic Workloads in Large-scale Cloud Environments

Rong Kang, Yanbin Chen, Ye Liu, Fuxin Jiang, Qingshuo Li, Miao Ma, Jian Liu, Guangliang Zhao, Tieying Zhang, Jianjun Chen, Lei Zhang

Introduction

Multi-tenancy is essential for resource efficiency in serverless NoSQL databases, allowing diverse users to share hardware. However, at ByteDance's scale—handling 13 billion QPS and over 1 exabyte of storage—traditional multi-tenancy faces significant challenges. These include the "caching paradox," where standard request-unit billing ignores CPU-heavy cache hits, unpredictable workload dynamism like "hot keys," and resource imbalances between storage-heavy and throughput-heavy tenants.

System Architecture

ABase addresses these issues through a tiered architecture comprising a Proxy Plane, a Control Plane, and a Data Plane.

ABase System Architecture showing the Proxy, Control, and Data Planes.

The Proxy Plane handles tenant-specific routing and caching. To mitigate hot keys, it employs a "limited fan-out hash" strategy, grouping proxies to balance cache hit ratios against load distribution. The Control Plane features a Predictive Autoscaler and a Rescheduler. The autoscaler uses an ensemble model (combining Prophet with historical averages) to proactively adjust resources. The Data Plane organizes resources into pools, where DataNodes manage partitions with fine-grained isolation.

Cache-Aware Resource Isolation

A core innovation in ABase is its cache-aware isolation mechanism. Traditional systems often throttle based on simple request counts. ABase introduces Dual-Layer Weighted Fair Queueing (WFQ). Requests are first processed by a CPU-WFQ; if a cache miss occurs, they proceed to an I/O-WFQ. This ensures tenants are billed and throttled based on their actual consumption of specific hardware resources, preventing "noisy neighbors" from monopolizing the CPU via high cache-hit traffic.

Workload Diversity and Evaluation

ABase is evaluated against a wide array of real-world production workloads from the ByteDance ecosystem, ranging from social media comments to Large Language Model (LLM) caches.

Characteristics of diverse production workloads handled by ABase.

As shown in the table, these workloads vary drastically in throughput, storage requirements, and cache hit ratios. For instance, LLM workloads require massive storage and have 0% cache hit rates for remote K-V caches, while Search workloads exhibit 99% cache hit rates. ABase's ability to balance these disparate needs is central to its success.

Key Results and Impact

The deployment of ABase has significantly improved operational stability and efficiency:

  • Operational Stability: Predictive autoscaling reduced urgent "oncall" interventions by 65%.
  • Resource Efficiency: Average CPU utilization increased from 17% to 44%, and disk utilization rose from 27% to 46% compared to previous architectures.
  • Performance at Scale: During peak events like the "Double-11" shopping festival, 99% of tenants maintained latencies within their SLAs while handling billions of QPS.

Conclusion

ABase demonstrates that effective serverless multi-tenancy at exabyte scale requires moving beyond simple request quotas toward cache-aware resource accounting and proactive, multi-dimensional rescheduling. Future work includes further optimizing ABase for the unique demands of long-context LLM workloads.

Summary updated

BibTeX
@inproceedings{kang2025abase,
  author = {Rong Kang and Yanbin Chen and Ye Liu and Fuxin Jiang and Qingshuo Li and Miao Ma and Jian Liu and Guangliang Zhao and Tieying Zhang and Jianjun Chen and Lei Zhang},
  title = {{ABase: the Multi-Tenant NoSQL Serverless Database for Diverse and Dynamic Workloads in Large-scale Cloud Environments}},
  booktitle = {SIGMOD Conference Companion},
  year = {2025},
  doi = {10.1145/3722212.3724426},
}
Figure