redis是一个带存储功能的键值数据库,类似日本的Tokyo Tyrant / Tokyo Cabinet 项目。下面是官方的介绍:
Redis is an advanced key-value store. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. Redis supports different kind of sorting abilities.
这里有篇国外的人对redis,memcached,tokyo tyrant等做的对测试:
http://www.ruturaj.net/redis-memcached-tokyo-tyrant-mysql-comparison
可以看出redis的性测非常出色。
另外redis对数据结构的支持也非常丰富,什么队列,栈,哈希等等都支持,而memcached只支持K-V。