代码改变世界

Redis 资料整理

2013-11-16 00:26  会被淹死的鱼  阅读(793)  评论(0编辑  收藏  举报

Redis is an open source, BSD licensed, advanced key-value store.

Redis is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

More Accurate Description

  • An in-memory persistent key-value store
  • More than a key-value store
  • 5 different data structures

参考官方网站: http://redis.io/

redis不仅仅是一个kv的存储, 支持多种类型, 作为一个NoSQL数据库来说, 对于编程语言友好, 是对关系型数据库很好的补充.

NoSQL最初是一个对于传统关系型数据库的挑战, 比较激进, 目前普遍认为NoSQL是Not Only SQL, 是对于关系型数据库的补充.

关系型数据库建立在完备的数学基础之上, 作为一种通用的数据存储或持久化方案, 具有约束和事务等特性, 这些都是NoSQL数据库欠缺的, NoSQL数据库的多样性, 没有统一的标准, 注定了在实际实践中会遇到一些难以解决的问题. NoSQL少了约束等特性, 但是正因此存储效率等方面有着明显的优势, 简单好用, 合理使用二者, 可以获取非常不错的收益.

 

Demo使用方法

参考资料汇总

中文参考资料

Redis命令参考: http://redis.readthedocs.org/en/latest/

Redis设计与实现: http://www.redisbook.com/en/latest/

注释源码: https://github.com/huangz1990/annotated_redis_source

redis资料概要 @江南白衣 github: https://github.com/springside/springside4/wiki/redis (redis资料集合, 包含很多入门的资料)

网络资料汇总: http://www.redis.cn/article.html

英文参考资料

官方文档: http://redis.io/documentation

redis little book: http://openmymind.net/2012/1/23/The-Little-Redis-Book/

redis 101: http://no.gd/redis-presentation.pdf

redis github(source code): https://github.com/antirez/redis