Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any in-memory (persistent) solutions faster than Aerospike for a single-node?

I am working on a cloud application that requires low latency and very high read/writes per second. I will only have around 1 million records stored persistently but this may fluctuate largely as the application runs.

After YCSB benchmarking Aerospike and Redis, I found that Aerospike beats Redis and MongoDB both in terms of performance on a single-node for 60/40 read write.

Some points to note:

  • Fetching all my data using a single 32-bit integer key (no advanced queries)
  • Running on a single machine with 8 GB RAM and an SSD (small number of records)
  • Multiple clients need access to the database at once (via LAN)

I'm also assuming that key-value stores will outperform document stores and are the best fit considering I do not need advanced queries.

Before committing myself to Aerospike, are there any other solutions which may be more fit for my scenario considering that I am only running a single node with a small-ish amount of records?

like image 202
Johnny Grimes Avatar asked Jun 03 '17 17:06

Johnny Grimes


People also ask

Is Aerospike faster than Redis?

Aerospike is slightly faster than Redis for 100/0 and 80/20 read/write workloads against a single node backed by EBS SSD (gp2) storage for persistence.

Why is Aerospike fast?

Aerospike is a combination of speed, scalability, and reliability. It delivers 10 times performance or 1/10th the cost compared to other databases.

What is Aerospike good for?

Aerospike is an excellent database for a recommendation engine. Key features are large lists ( for efficiently recording behavior), optimized Flash support to handle datasets from terabytes to petabytes, queries and aggregations for real-time reporting, and strong support for languages such as Python and Go.


1 Answers

Not that I'm aware of. I think Aerospike is the fastest. However, for some use cases you can consider Tarantool. Here's one of the benchmarks: https://medium.com/@rvncerr/tarantool-vs-competitors-racing-in-microsoft-azure-ebde9c5d619

like image 191
Igor Novgorodov Avatar answered Sep 18 '22 04:09

Igor Novgorodov