Is Redis just a cache?

Technology CommunityCategory: CachingIs Redis just a cache?
VietMX Staff asked 3 years ago

Like a cache Redis offers:

  • in memory key-value storage

But unlike a cash Redis:

  • Supports multiple datatypes (strings, hashes, lists, sets, sorted sets, bitmaps, and hyperloglogs)
  • It provides an ability to store cache data into physical storage (if needed).
  • Supports pub-sub model
  • Redis cache provides replication for high availability (master/slave)
  • Supports ultra-fast lua-scripts. Its execution time equals to C commands execution.
  • Can be shared across multiple instances of the application (instead of in-memory cache for each app instance)