What is Redis and Why to Use Redis?
dev.to·4d·
Discuss: DEV
Caching Strategies
Preview
Report Post

Redis (which stands for REmote DIctionary Server) is an open source, in-memory NoSql database that uses key/value pairs to store data. Although Redis can be used as a stand alone database, it is often combined with other databases to improve performance. Redis excels in applications where live, instant data is needed such as leader boards, messaging, gaming, etc.

If I already have a database, why would I use Redis? Redis holds most of its data in-memory (RAM), as opposed to on disk, which enables it to have extremely low-latency when reading and writing. Most of the time, read and writes in Redis are constant time 0(1). It reduces response time down to sub-milliseconds (around 1,000 to 10,000 times faster than accessing disk storage)! It is great in situations where a lot of…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help