Amazon Releases MemoryDB For Redis
Written by Kay Ewbank   
Thursday, 02 September 2021

Amazon has released Amazon MemoryDB for Redis, a new Redis-compatible, durable, in-memory database. Amazon says MemoryDB makes it easy and cost-effective to build applications that require microsecond read and single-digit millisecond write performance with data durability and high availability.

Redis is popular for applications such as microservices where database performance is critical to success. Developers use Redis for an in-memory cache in front of a durable database.

redislogo

Until now, developers wanting to put such a structure in place on AWS had to use Amazon ElastiCache for Redis, a fully managed in-memory caching service in front of database services such as Amazon Aurora or Amazon DynamoDB. This service was a major source of complaints from the developers of Redis as AWS ElastiCache is a rebranded version of Redis, and was one of the drivers behind Redis Labs changing their open source license.

Using ElastiCache in this way is problematic because it relies on custom code in users applications to keep the cache in sync with the database, and also means paying for running both a cache and a database.

Amazon MemoryDB for Redis aims to overcome these drawbacks. It replaces the low-latency cache and acts as the single, primary database. All the data is stored in memory, so latency is low and data throughput is high. MemoryDB uses a distributed transactional log that stores data across multiple Amazon Availability Zones (AZs). This ensures fast failover and database recovery, and node restarts with high durability.

MemoryDB is Redis compatible and supports the Redis set of data types, parameters, and commands, so all the code, applications, drivers, and tools used with Redis can be used with MemoryDB. MemoryDB is compatible with Redis 6.2 and will support newer versions as they are released in open source.

Amazon says that compared to ElastiCache, MemoryDB's advantage is that it can safely be the primary database for your applications because it provides data durability and microsecond read and single-digit millisecond write latencies, so you don’t need to add a cache in front of the database to achieve low latency. However, ElastiCache provides microsecond latencies for both reads and writes, so is still recommended for caching workloads where you want to accelerate data access from your existing databases.

While MemoryDB for Redis fills a gap in Amazon's cloud database provision, there are alternatives, including Redis Enterprise Cloud, Microsoft Azure Cache for Redis, and Google Memorystore for Redis.

Amazon MemoryDB For Redis is available now.

 redislogo

More Information

Amazon MemoryDB for Redis

Related Articles

Redis Founder Steps Back

Redis Labs Changes Open Source License

Redis Adds New Modules

Redis Adds TimeSeries And AI Support

Redis Adds Streams Support 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Google's Magic Eraser Saves Us From Photobombs
24/10/2021

Computational photography is amazing, but delivering it in a form that is usable is still difficult. Google now offers MagicEraser as part of its new Pixel 6 phone and it looks as if it makes a monkey [ ... ]



Node.js Adds OpenSSL 3 Support
25/10/2021

Node.js, the JavaScript runtime, has been updated. Node.js 17 includes support for OpenSSL 3 and APIs that have been reworked for Promises, along with updated platform support. 


More News

square

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 03 September 2021 )