码迷,mamicode.com
首页 > 数据库 > 详细

Redis and Database

时间:2018-07-16 11:31:38      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:rom   store   fir   tor   and   ssi   access   base   ase   

1. Redis is in-memory data store, cache.

2. Request is first sent to redis, then database.

3. Data(which is also stored in database) that is frequently used is stored in redis.

4. Data in redis is stored in memory, data in database is stored in disk. Accessing data from memory is much faster than from database.

Redis and Database

标签:rom   store   fir   tor   and   ssi   access   base   ase   

原文地址:https://www.cnblogs.com/dark-rebel/p/9315996.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!