# Suboptimal Engine Selection in MemoryDB

Canonical: https://www.pointfive.co/efficiency-hub/inefficiencies/suboptimal-engine-selection-in-memorydb

[Cloud Efficiency Hub](https://www.pointfive.co/efficiency-hub) 

# Suboptimal Engine Selection in MemoryDB

## Explanation

MemoryDB now supports Valkey, a drop-in replacement for Redis OSS offering significant cost and performance advantages. However, many deployments still default to Redis OSS, incurring higher hourly costs and unnecessary data write charges. For compatible workloads, continuing to use Redis OSS instead of Valkey represents a missed opportunity for savings and modernization.

## Relevant Billing Model

MemoryDB charges based on provisioned instance hours, with costs varying by engine type. Valkey instances offer \\~30% lower hourly rates and no data write charges up to 10 TB/month. Selecting Redis OSS instead of Valkey can lead to unnecessarily high compute and storage costs.

## Detection

- Identify MemoryDB clusters running the Redis OSS engine rather than Valkey

- Review the MemoryDB console or cost reporting data for engine metadata

- Assess whether workloads are compatible with Valkey (which is Redis API-compatible)

## Remediation

- Migrate eligible MemoryDB clusters to use the Valkey engine

- Validate API compatibility and performance requirements prior to migration

- Use zero-downtime upgrade capabilities where possible for seamless transition

- Consider making Valkey the default engine for new MemoryDB deployments

## Relevant Documentation

[Amazon MemoryDB for Valkey announcement](https://aws.amazon.com/blogs/database/amazon-elasticache-and-amazon-memorydb-announce-support-for-valkey/) 
[Amazon MemoryDB pricing](https://aws.amazon.com/memorydb/pricing/) 
[Valkey GitHub project](https://github.com/valkey-io/valkey)

[Submit Feedback](https://hub.pointfive.co/inefficiencies/suboptimal-engine-selection-in-memorydb)

## At a glance

Reference

CER-0166

Cloud provider

AWS

Service

AWS MemoryDB

Category

[Databases](https://www.pointfive.co/efficiency-hub/service-category/databases)

Inefficiency type

Inefficient Configuration

## Contributed by

- Erik Marke 

### Erik Marke

Product Owner IT Financial Management & FinOps @ Swiss Post

[LinkedIn](https://www.linkedin.com/in/erikmarke/)

---
Source: the public page above. Product screenshots and illustrative interfaces are examples, not live customer data.

