---
title: "Redis初探02 - redis简介及一些资料搜集"
author: "rails2010"
date: "2010-09-09T11:38:00Z"
tags: [".net", "Git", "Google", "Redis", "Vmware"]
categories: ["编程语言"]
slug: "redis-02-redis"
draft: false
lastmod: "2010-09-10T15:19:38Z"
id: 759310
url: "https://rails2010.iteye.com/blog/759310"
---

官方网址：http://code.google.com/p/redis/

官方FAQ： http://code.google.com/p/redis/wiki/FAQ

1.入门手册

redis指南：http://simonwillison.net/static/2010/redis-tutorial/

2.redis的一个大亮点是支持双向列表，单个对象值最大可达1GB,而且list长度可控

3.redis的作者Salvatore被VMware雇佣，可以潜心研究redis

4.redis支持的常见数据类型：binary,lists,sets,sorted sets,hashes,pubsub channels

http://code.google.com/p/redis/wiki/IntroductionToRedisDataTypes

5.redis常用的命令1：exists,keys,rename,expire,expireat,ttl,del,randomkey,renamenx,type

6.redis常用的命令2(strings)：set,get,mset,mget,incr,incrby,decr,decrby,append,substr

7.redis操作db的常用命令：select/move/flushdb/flushall/shutdown/slaveof/dbsize/info/monitor/save/bgsave/lastsave/bgrewriteaof

8.redis操作sets的常用命令：select/move/flushdb/flushall/shutdown/slaveof/dbsize/info/monitor/save/bgsave/lastsave/bgrewriteaof

9.jredis(客户端)的源码下载：

```
git clone http://github.com/alphazero/jredis.git
```