Aerospike vs Amazon ElastiCache: What are the differences?
What is Aerospike? Flash-optimized in-memory open source NoSQL database. Aerospike is an open-source, modern database built from the ground up to push the limits of flash storage, processors and networks. It was designed to operate with predictable low latency at high throughput with uncompromising reliability – both high availability and ACID guarantees.
What is Amazon ElastiCache? Deploy, operate, and scale an in-memory cache in the cloud. ElastiCache improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches, instead of relying entirely on slower disk-based databases. ElastiCache supports Memcached and Redis.
Aerospike belongs to "In-Memory Databases" category of the tech stack, while Amazon ElastiCache can be primarily classified under "Managed Memcache".
Some of the features offered by Aerospike are:
- 99% of reads/writes complete in under 1 millisecond.
- Predictable low latency at high throughput – second to none. Read the YCSB Benchmark.
- The secret sauce? A thousand things done right. Server code in ‘C’ (not Java or Erlang) precisely tuned to avoid context switching and memory copies. Highly parallelized multi-threaded, multi-core, multi-cpu, multi-SSD execution.
On the other hand, Amazon ElastiCache provides the following key features:
- Support for two engines: Memcached and Redis
- Ease of management via the AWS Management Console. With a few clicks you can configure and launch instances for the engine you wish to use.
- Compatibility with the specific engine protocol. This means most of the client libraries will work with the respective engines they were built for - no additional changes or tweaking required.
"Ram and/or ssd persistence " is the primary reason why developers consider Aerospike over the competitors, whereas "Redis" was stated as the key factor in picking Amazon ElastiCache.
Aerospike is an open source tool with 282 GitHub stars and 52 GitHub forks. Here's a link to Aerospike's open source repository on GitHub.
According to the StackShare community, Amazon ElastiCache has a broader approval, being mentioned in 342 company stacks & 79 developers stacks; compared to Aerospike, which is listed in 30 company stacks and 9 developer stacks.
What is Aerospike?
What is Amazon ElastiCache?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Aerospike?
What are the cons of using Amazon ElastiCache?
Sign up to get full access to all the companiesMake informed product decisions
We decided to use MemCachier as our Memcached provider because we were seeing some serious PostgreSQL performance issues with query-heavy pages on the site. We use MemCachier for all Rails caching and pretty aggressively too for the logged out experience (fully cached pages for the most part). We really need to move to Amazon ElastiCache as soon as possible so we can stop paying so much. The only reason we're not moving is because there are some restrictions on the network side due to our main app being hosted on Heroku.
Aerospike is used heavily in our real time kafka pipeline. We use it two ways: we harness the fast key-value store lookup and leveraging Aerospikes ACID capabilities through UDFs we could manage updates in real time.
I use a micro elesticache instance as a shared session store between the Node.js clusters of dojo.zerotoherojs.com and nightly.zerotoherojs.com
Audit the ElastiCache configurations for best practices and standards.