New Intel® Hardware Pushes DSE Even Further Ahead of Apache Cassandra™
date: April 17, 2019
In April 2018, we released DataStax Enterprise (DSE) 6 and revealed to the market that it was twice as fast as Cassandra or any previous version of DSE. The performance improvements included a new thread-per-core asynchronous architecture and major storage engine improvements.
We would never have imagined that 12 months later Intel would release hardware that more than doubles the performance gap between DSE and Cassandra. The secret lies within the second generation of Intel’s Scalable processors, which have optimizations specifically for their new Optane™ Persistent Memory Module.
When you combine our innovations with Intel’s, you get a database, CPU, and storage system that are optimized for working closely together.
Let's break it down:
- DataStax thread-per-core architecture assigns each token range a thread and each thread is assigned a CPU core.
- To eliminate thread contention in the new design, DataStax made reads, writes, and other tasks asynchronous throughout the entire platform.
- Intel recognized that more threads and more paths to memory were required for scale-out systems and offered the scalable Xeon® series with two dies per CPU socket (meaning you’ll see two CPUs per socket).
- Intel provided additional optimizations (such as single-hop routing) for accessing Optane™ storage, resulting in latency as low as 79 nanoseconds (yes, nanoseconds).
The benchmark used DSE 6.7 and DataStax Distribution of Apache Cassandra™ (based on Cassandra 3.11) to compare the new Intel® Optane™ Persistent Memory Module’s performance against NVMe drives. All tests were done on a 4-node cluster packed with 40-core Cascade Lake Xeon® Scalable data center processors.
These were the results:
- For write workloads, DSE 6.7 throughput is approximately 2x higher (better) on Optane™ compared to the latest NVMe drives we tried, and 99th percent latencies are under 20ms.
- For mixed and read-heavy workloads, DSE 6.7 throughput is up to 4x higher on Optane™ than NVMe.
- DSE Advanced Performance features love this hardware. DSE 6.7 achieves 5x the throughput of Cassandra, while at the same time delivering an almost 4x reduction in p99 latency (lower is better).
- Although Cassandra write-heavy workloads didn’t benefit as much from the new hardware, evenly mixed and read-heavy workloads were also up to 5x faster with Optane™.
It’s been incredible watching Intel innovate in this space. No other company is positioned to combine CPU and storage innovation in such a revolutionary way. We’re also working closely with Intel on software innovations they’re making around Cassandra.
We’ll be previewing these ideas at our inaugural user conference, DataStax Accelerate, in Maryland on May 21–23, 2019. Shoot our partner team an email and reference this blog for a conference discount code: email@example.com.