caching - 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.
解决方案
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.
推荐阅读
- javascript - 如何在一个简单的网站上实现缓存?
- php - 如果名称是动态的,则找不到类 - PHP
- r - 根据符号将字符串拆分为多列
- dependency-injection - Eclipse 4 配置依赖注入的绑定
- observable - Ionic 4 observable 返回未定义
- regex - ^\d*(\:d+) 是什么意思?或 ^\d*(\:d+)?$
- dc.js - crossfilter dc.barChart 呈现没有条形的空图表
- json - Kubernetes Python 客户端从代理动词返回 pod 的 JSON HTTP 响应,作为带有单引号而不是双引号的字符串
- android - 将 apk 测试从 Fabric 迁移到 Firebase
- python - 在 SQLAlchemy 中创建多对多关系