DEV Community

Discussion on: What exactly does REDIS provide? I'm like 1

Collapse
 
raywp profile image
Raymond Wangsa Putra

gugu gaga, gaga gu--
just kidding, my bad.

TLDR:
If you understand Hashmap in Java, or Dictionary in Python, or Javascript Object. Yes, Redis work like that way. Storing your data in Memory / RAM.

Longer explanation:
Redis is actually a database, but different storing mechanism.
Traditional Relational database like MySQL or PostgreSQL will store their data to disks (HDD or SSD).
But Redis, by default storing the data to your RAM/Memory, making it faster to access or to write compared to MySQL or other Relational database. It usually used for caching. So you can access frequently-used data faster compared to accessing it to MySQL (or any other database).
But at some point, you can also store the data in Redis into your disks (for backup purposes), usually this called Redis Persistence or Redis Snapshot.

If you want some videos i recommend:
youtube.com/watch?v=5TRFpFBccQM
youtu.be/G1rOthIU-uo

Collapse
 
wjplatformer profile image
Wj

Thank you SO MUCH omg thanks! You r my hero :)