nosql - redis 的使用场景一般是什么样的
ringa_lee
ringa_lee 2017-04-21 10:57:42
0
1
679

redis 的使用场景一般是什么样的,什么情况下用 redis,有什么好处和注意事项?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
Ty80

Usage scenarios that I have currently experienced and understood:
1. Data that has requirements for the cached data structure.
2. Cache relational structure data.
3. Cache the corresponding primary key in mysql.

What are the benefits? It stores memory and has fast access speed. It is generally used to reduce the reading and writing pressure of relational databases such as MySQL. Note that you must first plan the capacity of redis. Redis is not suitable for storing large data (pictures...). There is also the use of keys. Operations such as "key *" are very time-consuming. It is recommended to start with the official documents. http://redis.io/documentation :)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template