5 Tweets Dec 24, 2022
/1 Why is single-threaded Redis so fast?
There are 3 main reasons, as shown in the diagram below.
If you prefer video, you can watch our YouTube video here ⇩
bit.ly
If you prefer text, keep reading:
/2 1. Redis is a RAM-based database. RAM access is at least 1,000 times faster than random disk access.
2. Redis leverages IO multiplexing and single-threaded execution loop for execution efficiency.
3. Redis leverages several efficient lower-level data structures.
/3 Over to you: Another popular in-memory store is Memcached. Do you know the differences between Redis and Memcached?
/4 I hope you've found this thread helpful.
Follow me @alexxubyte for more.
Like/Retweet the first tweet below if you can:
Enjoy this thread?
You might like our "Algorithms You Should Know Video Series For System Design":
youtube.com

Loading suggestions...