Abstract
This paper presents a comprehensive performance evaluation of six prominent data stores—Cassandra, HBase, Voldemort, Redis, VoltDB, and MySQL Cluster—specifically tailored for Application Performance Management (APM) workloads. The study demonstrates that while distributed NoSQL stores like Cassandra offer superior linear scalability for high-velocity monitoring data, they often involve significant trade-offs in latency and configuration complexity.
Introduction
Modern enterprise systems often comprise thousands of servers with complex interdependencies. To maintain system health, administrators utilize Application Performance Management (APM) tools to track millions of metrics, ranging from CPU usage to specific code method response times. This creates a massive "Big Data" challenge: a sustained firehose of measurements that must be stored for real-time alerting and historical analysis. As traditional relational databases often fail at this scale, this research investigates which modern NoSQL and distributed architectures can withstand the unique "write-heavy, append-only" requirements of APM.
Methodology
The researchers conducted a rigorous benchmarking study using two distinct hardware environments: Cluster M (memory-bound, 16 nodes with high RAM) and Cluster D (disk-bound, 24 nodes with lower RAM). Six systems were evaluated across three categories:
- Key-Value Stores: Redis and Project Voldemort.
- Extensible Record Stores: Apache Cassandra and Apache HBase.
- Scalable Relational Stores: MySQL Cluster and VoltDB.
The study utilized an extended version of the Yahoo! Cloud Serving Benchmark (YCSB) to simulate APM workloads, ranging from read-intensive to 99% write-heavy scenarios. Synthetic datasets mimicked real-world APM records, with scale reaching up to 150 million records per node in disk-bound tests to ensure data exceeded available RAM.
Performance Analysis and Key Results
Throughput and Scalability
A primary finding was that linear scalability is rare. Only Cassandra, HBase, and Voldemort demonstrated throughput that increased proportionally with the number of nodes. Cassandra, in particular, dominated the multi-node tests, proving its strength in handling high-velocity data streams.
As shown in the figure above, Cassandra achieved the highest overall throughput, reaching nearly 180,000 operations per second on a 12-node cluster. In contrast, systems like Redis and VoltDB struggled to scale effectively in the distributed setup used for this study.
The Latency-Throughput Trade-off
While Cassandra led in throughput, it suffered from higher read latency (5–8ms) compared to in-memory solutions like Redis (~0.2ms). HBase exhibited an even more extreme trade-off, optimizing for write efficiency at the cost of significantly higher read latency.
As illustrated in the latency analysis, HBase consistently showed the highest read latency among the tested systems, sometimes reaching levels that could impact real-time monitoring performance. Conversely, Redis maintained the lowest latency, though it lacked the linear scalability of the record stores.
Discussion and Conclusion
The evaluation highlights that "default settings" are rarely sufficient for APM workloads; significant tuning (such as JVM adjustments for HBase or token selection for Cassandra) is required to avoid performance bottlenecks. Furthermore, there is a substantial gap in storage efficiency, with Cassandra requiring significantly less disk space than HBase for the same dataset.
In conclusion, while Cassandra is a powerful candidate for APM due to its stability and scalability, its relatively high latency suggests a need for further optimization. Future research will investigate the impacts of data compression and replication on these performance metrics to better meet the tight resource budgets of production environments.
Summary updated