一、redis是什么?
1、redis简介
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster
redis是一个开源的(BSD协议),内存数据结构存储应用。可以被用来作为数据库,缓存,消息代理,它支持字符串,哈希,列表,集合以及有序集合等五种数据结构对于范围查询,位图映射,日志,地理空间索引的位置查找和流式数据结构。redis有内部功能包含复制,LUA脚本,LRU驱逐,事务和不同级别磁盘存储,并且提供了高可用性通过 Redis Sentinel,提供自动分区通过Redis Cluster。
2、redis与memached的区别
2.1、redis拥有持久化功能而meamched没有,所有redis可以在存储(缓存,存储&