Benchmarks were performed to determine the performance of various cache operations and SQL based cache queries in GridGain® Community Edition 8.7.3. The results obtained provide throughput, latency, and dStat probes measuring various metrics during benchmark execution.
Hardware Specification
Specification | Description |
---|---|
Hardware | Huawei RH2288H V3 |
CPU | 2x Xeon E5-2609 v4 1.7GHz |
RAM | 96 GB |
SDD | 3 SSD Intel DC S3610 - 550\520 Mbps in RAID 0 |
Yardstick Configuration
GridGain was benchmarked using Yardstick framework with the configuration below.
Yardstick Configuration | |
---|---|
Nodes | 1 Client, 4 Servers |
Threads | 128 |
Backup | 0 |
Sync mode | PRIMARY SYNC |
WAL mode | LOG_ONLY (Persistence) |
JDK | 1.8.0_181-b13 |
If you want to reproduce the results of the benchmarks, please refer to this page which provides guidance on how to setup and run Yardstick against a GridGain cluster. Also, the configurations and scripts that were used on the GridGain side are available.
Results Summary
For all benchmarks, one local node and three remote nodes were configured with 128 client threads and a test duration of 300 sec.
Benchmark Name | Throughput, Ops/sec | Latency, µs |
---|---|---|
Atomic Put | 348,672 | 384 |
Atomic Put and Get | 171,032 | 748 |
Transactional Put | 216,978 | 591 |
Transactional Put and Get | 61,817 | 2,073 |
SQL Query | 98,542 | 1,301 |
Benchmark Name | Throughput, Ops/sec | Latency, µs |
---|---|---|
Atomic Put | 333,783 | 384 |
Atomic Put and Get | 170,106 | 753 |
Transactional Put | 207,569 | 618 |
Transactional Put and Get | 59,680 | 2,148 |
SQL Query | 96,728 | 1,324 |
Atomic Put Benchmark
Benchmarks atomic distributed cache put operation in GridGain. Randomly generated key-value pairs are stored in cache on multiple nodes.
Benchmarks Results Summary
Results show that atomic cache put operations in GridGain performed exceptionally well with approximately 330,000 operations per second.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 348,672 | 323,314 | 361,399 | 6,627 |
Latency (microseconds) | 367 | 353 | 395 | 9 |
To see complete graph and other probes, click here.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 333,783 | 281,799 | 371,089 | 18,143 |
Latency (microseconds) | 384 | 344 | 453 | 22 |
To see complete graph and other probes, click here.
Atomic Put and Get Benchmark
Benchmarks atomic distributed cache put and get operations in GridGain. Randomly generated key-value pairs are stored and retrieved from cache on multiple nodes.
Benchmarks Results Summary
Results show that more than 170,000 cache put and get operations per second can be performed in GridGain.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 171,032 | 158,963 | 178,423 | 2,865 |
Latency (microseconds) | 748 | 717 | 805 | 12 |
To see complete graph and other probes, click here.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 170,106 | 142,421 | 182,395 | 7,311 |
Latency (microseconds) | 753 | 700 | 899 | 34 |
To see complete graph and other probes, click here.
Transactional Put Benchmark
Benchmarks transactional distributed cache put operation. Randomly generated key-value pairs are stored in PARTITIONED cache with TRANSACTIONAL atomicity mode.
Results Summary
Following results show that more than 216,000 transactional put operations can be performed in GridGain.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 216,978 | 178,623 | 235,547 | 10,632 |
Latency (microseconds) | 591 | 543 | 716 | 31 |
To see complete graph and other probes, click here.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 207,569 | 173,973 | 234,853 | 12,600 |
Latency (microseconds) | 618 | 544 | 734 | 38 |
To see complete graph and other probes, click here.
Transactional Put and Get Benchmark
Benchmarks transactional distributed cache put and get operations together. Randomly generated key-value pairs are stored and retrieved in a single transaction from PARTITIONED cache with TRANSACTIONAL atomicity mode.
Results Summary
Following results show that approximately 61,000 transactional cache put and get operations per second can be performed together in GridGain.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 61,817 | 55,738 | 65,536 | 2,035 |
Latency (microseconds) | 2,073 | 1,943 | 2,308 | 70 |
To see complete graph and other probes, click here.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 59,680 | 51,575 | 65,102 | 2,449 |
Latency (microseconds) | 2,148 | 1,965 | 2,482 | 92 |
To see complete graph and other probes, click here.
SQL Query Benchmark
Benchmarks distributed SQL query operation on cached data. A simple SQL query was executed on the data stored on multiple nodes in a PARTITIONED cache.
Results Summary
Results show a throughput of approximately 98,000 SQL based cache query operations per second, which proves how quickly data can be retrieved from In-Memory Data Grid through cache queries in GridGain.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 98,542 | 86,270 | 110,174 | 4,019 |
Latency (microseconds) | 1,301 | 1,161 | 1,499 | 53 |
View complete graph and other probes.
Avg | Min | Max | Std Deviation | |
---|---|---|---|---|
Throughput (Operations/sec) | 96,728 | 85,119 | 108,225 | 3,658 |
Latency (microseconds) | 1,324 | 1,182 | 1,503 | 51 |
View complete graph and other probes.