首页 > 解决方案 > Does redis itself have cache?

问题描述

What's the difference between query for a specific key once and many times? does it cost the same time every time, or 2nd will be faster than 1st? Hope someone can give a hand:) I've checked the official site and found nothing on this.

标签: cachinghashredis

解决方案


Redis is an in-memory database, which means all data it manages is stored in RAM. That being the case, there is no need/way for Redis to cache the data and every request is served in constant and predictable latency.


推荐阅读