Amazon ElastiCache

Fixed Workload vs Fixed Pressure: A Decision Framework for ElastiCache Architecture

A benchmark can be repeatable and still support the wrong decision. I reached that point after 21 one-hour Valkey 9.0 runs across seven Amazon ElastiCache node designs. The same fixed workload pushed the general-purpose M family to 99.89% to 100% memory, while the memory-optimized R family finished with roughly 27% to 34% headroom. A flat Intel-versus-Graviton ranking would have converted different operating regimes into a confident but false architecture conclusion.

I stopped treating the matrix as a CPU race and reframed the program around two complementary views: fixed workload for the application-placement decision, and fixed pressure for the systems comparison. The result is a decision framework that keeps capacity, reliability, and investment risk visible before a team commits to an ElastiCache design.

Valkey 9.0 AWS ElastiCache r5.large Benchmark: 9 Workers (run 2)

Node Memory
13.07GiB
Redis Cost
$0.216/h
Avg Throughput
47,932ops/sec
Peak Throughput
48,436ops/sec
Throughput CV
11.9%
Avg Latency
0.37ms
Max Latency
0.80ms
Total Bandwidth
21.53MB/s
Avg ECS CPU
70.3%
Peak ECS CPU
71.3%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
39.89%
Max Memory
69.49%
Mem Headroom
+30.5%
Engine CPU Peak
58.9%
Cache Hit Rate
32.4%
Total Evictions
0
Min Free Mem
7977MB
Peak Key Count
5,316,434
First Eviction
None
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window

Valkey 9.0 AWS ElastiCache c7gn.large Benchmark: 9 Workers (run 3)

Node Memory
3.09GiB
Redis Cost
$0.255/h
Avg Throughput
43,351ops/sec
Peak Throughput
44,652ops/sec
Throughput CV
0.4%
Avg Latency
0.41ms
Max Latency
0.60ms
Total Bandwidth
30.29MB/s
Avg ECS CPU
70.6%
Peak ECS CPU
71.1%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
82.83%
Max Memory
100.00%
Mem Headroom
-0.0%
Engine CPU Peak
33.5%
Cache Hit Rate
61.2%
Total Evictions
953,318
Min Free Mem
906MB
Peak Key Count
1,805,134
First Eviction
27m 55s
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window

Valkey 9.0 AWS ElastiCache c7gn.large Benchmark: 9 Workers (run 2)

Node Memory
3.09GiB
Redis Cost
$0.255/h
Avg Throughput
41,589ops/sec
Peak Throughput
42,019ops/sec
Throughput CV
0.4%
Avg Latency
0.43ms
Max Latency
0.71ms
Total Bandwidth
28.83MB/s
Avg ECS CPU
71.8%
Peak ECS CPU
72.3%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
82.75%
Max Memory
100.00%
Mem Headroom
-0.0%
Engine CPU Peak
30.7%
Cache Hit Rate
61.1%
Total Evictions
898,652
Min Free Mem
903MB
Peak Key Count
1,805,119
First Eviction
28m 57s
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window

Valkey 9.0 AWS ElastiCache m7g.large Benchmark: 9 Workers (run 3)

Node Memory
6.38GiB
Redis Cost
$0.158/h
Avg Throughput
41,990ops/sec
Peak Throughput
42,534ops/sec
Throughput CV
5.0%
Avg Latency
0.43ms
Max Latency
0.57ms
Total Bandwidth
23.45MB/s
Avg ECS CPU
71.8%
Peak ECS CPU
72.4%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
60.99%
Max Memory
99.89%
Mem Headroom
+0.1%
Engine CPU Peak
34.8%
Cache Hit Rate
44.6%
Total Evictions
0
Min Free Mem
2260MB
Peak Key Count
3,717,830
First Eviction
None
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window

Valkey 9.0 AWS ElastiCache m7g.large Benchmark: 9 Workers (run 2)

Node Memory
6.38GiB
Redis Cost
$0.158/h
Avg Throughput
49,743ops/sec
Peak Throughput
50,178ops/sec
Throughput CV
10.8%
Avg Latency
0.36ms
Max Latency
0.61ms
Total Bandwidth
30.25MB/s
Avg ECS CPU
78.9%
Peak ECS CPU
79.3%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
66.73%
Max Memory
100.00%
Mem Headroom
-0.0%
Engine CPU Peak
39.8%
Cache Hit Rate
49.8%
Total Evictions
295,075
Min Free Mem
2287MB
Peak Key Count
3,721,984
First Eviction
51m 15s
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window

Valkey 9.0 AWS ElastiCache m7g.large Benchmark: 9 Workers

Node Memory
6.38GiB
Redis Cost
$0.158/h
Avg Throughput
42,921ops/sec
Peak Throughput
43,773ops/sec
Throughput CV
1.8%
Avg Latency
0.42ms
Max Latency
0.58ms
Total Bandwidth
24.59MB/s
Avg ECS CPU
72.5%
Peak ECS CPU
73.3%
ECS Mem Peak
6MB
Loadgen Tasks
9
Avg Memory
62.68%
Max Memory
100.00%
Mem Headroom
+0.0%
Engine CPU Peak
36.7%
Cache Hit Rate
46.2%
Total Evictions
57,139
Min Free Mem
2285MB
Peak Key Count
3,721,962
First Eviction
58m 59s
OOM Rejections
0
First OOM Rejection
None

Memtier Benchmark

report window

Infrastructure

report window

Client Latency

ECS EMF

ElastiCache Deep-Dive

report window