自己工作中没太多机会接触到需要使用这技术的项目,目前memcache已经被redis所取代,很想知道redis在项目中扮演怎样的角色,是作为功能更强大的但依旧是数据缓存的角色,还是说已经可以胜任并取代MySQL地位的角色了
天蓬老师2017-04-22 09:02:32
At the core for me.
1. Persistence is already very mature,
2.io performance is impressive,
3. The simple k-v structure can be combined to create various data structures, such as documents, trees, graphs, and networks
4. It’s so comfortable to be able to set up a life cycle for data
The data runs cutely in the memory. Anyway, you can be willful if you have money.
怪我咯2017-04-22 09:02:32
It cannot replace mysql. First, it does not have the functions of SQL and has no concept of relationships. Second, its data persistence and transaction management functions are far inferior to mysql. It can currently replace the simpler memcache as a cache server with a variety of data structures.
黄舟2017-04-22 09:02:32
Redis is not very reliable as a database
1. Too few supported data types
2. The query function is too weak
3. Data is not stored to disk in real time
伊谢尔伦2017-04-22 09:02:32
Most websites now don’t require frequent logins. Generally, sessions are stored in the database. I only use redis for this job