Abstract
Enterprise KV stores are not well suited for HPC applications, and entail customization and cumbersome end-to-end KV design to extract the HPC application needs. To this end, in this paper we present bespoKV, an adaptive, extensible, and scale-out KV store framework. bespoKV decouples the KV store design into the control plane for distributed management and the data plane for local data store. bespoKV takes as input a single-server KV store, called a datalet, and transparently enables a scalable and fault-tolerant distributed KV store service. The resulting distributed stores are also adaptive to consistency or topology requirement changes and can be easily extended for new types of services. Experiments show that bespoKV-enabled distributed KV stores scale horizontally to a large number of nodes, and performs comparably and sometimes better than the state-of-the-art systems.
Introduction
In the domain of High-Performance Computing (HPC), storage requirements are diverse and rapidly evolving. Applications may require extreme write speeds for burst buffers or strong consistency for metadata management. However, current distributed key-value (KV) stores are often monolithic, with distributed features like replication and sharding deeply integrated into the storage engine. This lack of modularity makes it difficult to adapt to new hardware (e.g., Non-Volatile Memory) or to change system "personalities" (e.g., switching consistency models) without expensive migrations.
System Architecture
bespoKV addresses these challenges by decoupling the distributed system into two primary components: the Datalet (Data Plane) and the Controlet (Control Plane).
- The Datalet: This represents any single-server KV store (such as Redis or LevelDB) that manages local storage. It interacts with the framework through a simple API (Put, Get, Del).
- The Controlet: This serves as the "brain" of the system, handling distributed management tasks including sharding, replication, and consistency protocols.
The architecture is supported by a ZooKeeper-based Coordinator for cluster-wide metadata and a client library for intelligent request routing. A novel Transition Protocol allows the system to swap controlets at runtime, enabling dynamic adaptation of network topologies and consistency models without downtime. This separation also enables "polyglot persistence," where different replicas of the same data can be stored in different types of datalets (e.g., one in-memory for speed, one on-disk for durability).
Evaluation and Results
The researchers evaluated bespoKV using industry-standard benchmarks (YCSB) and real-world HPC workloads, including MPI job launches and Lustre monitoring traces.
- Scalability: Using a custom
tHTdatalet, bespoKV-enabled stores demonstrated near-linear horizontal scalability up to 48 nodes on Google Cloud. - Performance: In read-intensive scenarios, bespoKV outperformed established systems like Cassandra and Voldemort by up to 4.5x and 1.6x, respectively. Latency was further reduced by 65% through kernel bypassing with DPDK.
- Adaptability: The system successfully transitioned between consistency models (e.g., Eventual to Strong Consistency) in approximately 5 seconds with no downtime.
- HPC Impact: A distributed cache for deep learning training built on bespoKV achieved a 4x speedup in image processing throughput compared to traditional I/O methods.
Conclusion
bespoKV provides a modular and extensible framework that simplifies the creation of application-tailored distributed KV stores. By decoupling the control and data planes, it allows developers to transform specialized local storage engines into scale-out systems with minimal engineering effort. Future work will focus on optimizing the Shared Log for extreme scales and integrating with orchestration platforms like Kubernetes.
Summary updated