Join us for RedisConf and Hackathon, April 20-21
Recently, AWS announced the availability of I3 instances across 15 different regions. We were happy to be a part of their I3 instances beta program and used our own Redis Enterprise Flash (Redise Flash) technology to extensively test and benchmark the new instances before they were formally launched. The I3 SSD storage is based on NVMe technology, which theoretically should provide significantly higher throughput and much lower latency than the previous generation I2 instances (which are based on SATA SSDs).
Before I get into the results of our benchmark, I’ll first cover some quick background about Redis and Redise Flash. Redis is known for its extremely fast performance serving datasets entirely from RAM. However, RAM prices have remained flat during recent years, and deploying large datasets may prove to be expensive and may not fit all business models and economics (not to mention the cases where one or more replicas are needed for high-availability).
Redise Flash solves this problem by storing Redis’ keys, dictionary (the main data structure behind the keys), and “hot” values (the most accessed values) in RAM, while “cold” values (the least accessed part of the dataset as identified by the LRU algorithm) are kept on Flash (the technology behind SSDs). Distributing the data this way guarantees that ongoing operations are executed almost as quickly as Redis running entirely on RAM.
This architecture is mainly designed for use cases where the working dataset is smaller than the total dataset (which is the most common scenario), as it allows Redise Flash to maintain a similar performance to that of RAM while dramatically reducing the server infrastructure costs. Redise Flash is fully compatible with open-source Redis and incorporates the entire set of Redis commands and features. Flash is treated as a RAM extender, and does not replace the existing data-persistence mechanism of Redis. With all of this in mind, let’s look into our latest performance tests on AWS.
What We Benchmarked
We compared the performance of Redise Flash over three AWS instances:
What We Found
The two graphs below show the 100B and 1000B test results:
The table below summarizes the average improvement factor of the i3 over i2 instances across all tests:
|i3.8xlarge vs. i2.8xlarge||x1.98||x1.66|
|i3.16xlarge vs. i2.8xlarge||x2.59||x1.92|
The results above show that the new I3 instances are truly an improvement over I2 as demonstrated by Redis Labs’ Redise Flash technology.
Savings Per Operation
AWS I3 instances are not only faster than AWS I2 instances, they are also much cheaper. For example, the cost of an on-demand Linux i3.8xlarge instance in US East North Virginia region is $2.496/hr versus $6.820/hr of i2.8xlarge, that’s 73% cheaper!
When we calculated the savings per RoF operation on an i3.8xlarge instance, we found the following:
|i3.8xlarge savings per 100B operations||i3.8xlarge savings per 1000B operations|
(or each operation is x5.4 cheaper)
(or each operation is x4.5 cheaper)
Note: We only compared the i3.8xlarge and i2.8xlarge instances as both have similar RAM and SSD capacity.
As expected, we found that Redise Flash runs up to 2.6 times faster on AWS I3 instance than it does on AWS I2 instance. We also found that due to the relatively attractive cost of I3 instances, each Redise Flash operation is up to 5.4 times cheaper on an I3 instance than it is on an I2 instance.
AWS I3 and I2 instances configurations:
Detailed pricing can be found on the AWS website.