Skip to content

Redis vs Memcached vs traditional DB

Redis has data structures and persistence; Memcached is a simpler pure cache; a traditional DB is disk-based and slower for hot reads.

Aspect

Redis

Memcached

Traditional DB

Storage

RAM + disk (optional)

RAM only

Disk

Data types

Strings, lists, sets, hashes

Strings

Full SQL

Latency

Sub-ms

Sub-ms

10-100 ms

Persistence

RDB / AOF

None

Full

Pub/Sub

Yes

No

No

Cluster

Yes

Yes (limited)

Yes