TomoLink
CompaniesAppleSystem DesignWhy is Redis so Fast?
System Design
Mediumcaching-performance

Why is Redis so Fast?

30 minsRedisPerformance
30 mins
1 sections
Redis, Performance

Overview

There are 3 main reasons as shown in the diagram above.

  • Redis is a RAM-based database. RAM access is at least 1000 times faster than random disk access.
  • Redis leverages IO multiplexing and single-threaded execution loop for execution efficiency.
  • Redis leverages several efficient lower-level data structures.
Why is Redis so Fast? [Medium] | Apple System_design | TomoLink