What can RioDB deliver with AWS EC2?
We are in the process of creating the RioDB AMI on AWS, so naturally, the first step was the select the right instance types for RioDB. Since we are price-focused, we started with the new Amazon Linux 2023 on the new EC2 Graviton instances, with Amazon Corretto JDK.
The scenario:
RioDB opens a UDP listener for receiving Apache Access Logs, containing the remote address of the requester, the URL string, the response code, and the response size in bytes.
A stress-testing software on a remote host blasts a ton of random logs to the RioDB instance.
The RioDB instance is configured to parse the log into the 4 required fields, and COUNT how many requests have been received during the past 10 seconds.
The Results:
INSTANCE TYPE | COST/Hour | COST/Month | CPU | RioDB Throughput |
t4g.nano | 0.004 | $3.02 | 2 | 1.2k pps |
t4g.micro | 0.008 | $6.05 | 2 | 5k pps |
t4g.small | 0.017 | $12.10 | 2 | 30k pps |
c8g.medium | 0.040 | $28.61 | 1 | 400k pps |
c8g.large | 0.080 | $57.23 | 2 | 800k pps |
c8g.2xlarge | 0.318 | $228.90 | 8 | 1 million pps |
notes:
The burstable instance types were kept under their CPU usage baseline, without incurring burst mode:
t4g.nano – Running under 5% CPU baseline
t4g.micro – Running under 10% CPU baseline
t4g.small – Running under 20% CPU baseline
What we Learned
We are quite pleased with the performance and stability of RioDB on AWS’s Graviton processors.
These results confirm that it’s time to talk about moving workloads from commodity x86 servers to tiny virtual machines. With RioDB, you no longer need a lot of hardware resources to compute data stream analytics in real-time.
With these AWS EC2 instances, we also learned that most cloud-native solutions for stream analytics are grossly overpriced. If you do the math, all tiers tested above are processing billions of records per $1 dollar of cloud infrastructure spend, while still recalculating sliding windows, aggregations, and executing queries continuously after each record is received. This is insanely efficient!
What’s next
Lookout for RioDB AMI in the AWS marketplace. They should be available in the next few days. Later, we will look into providing images for Azure and Google clouds. Aside from the pre-baked images, you can always install RioDB manually. Don’t forget to reach out for a License or a demo.
We’re here to help your business harness the power of live data!
What We Offer:
- Low cost: The RioDB software license is actually FREE!
- Simplicity: SQL-like interface. Automate your real-time data processing solution.
- Performance: Extreme performance on limited hardware resources.