redis相关网站


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

redis简介


官方介绍http://redis.io/topics/introduction

百度百科http://baike.baidu.com/link?url=dX1fqnXRMeqeoTsgW6Zn2owpVCkonVkyDtKmnXj0CCk3Z4l94RH_K2tFuVYiZyc7FOeN88fi_KJdgZuSorCB3q

Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as stringshasheslistssetssorted sets with range queries, bitmaps,hyperloglogs and geospatial indexes with radius queries. Redis has built-in replicationLua scriptingLRU eviction,transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

redis是一款开源的(BSD协议)内存数据结构存储仓库,经常被当成内存数据库、数据缓存或消息代理来使用。它支持的数据结构有字符串(string)、哈希表(hash)、列表(list)、集合(set)、带查询范围的排序集合(sorted set with range queries)、位图(bitmap)、超对数(hyperloglog)、带半径查询的空间索引(geospatial indexe with radius queries)等等。redis拥有内建的复制(replication)、lua脚本(lua scripting)、LRU驱逐(LRU eviction)、事务(transaction)和其他不同层级的磁盘持久性(on-disk persistence)。并且redis通过redis哨兵(sentinel)和自动分区(automatic partitioning)提供高可用性(高效)。

You can run atomic operations on these types, like appending to a stringincrementing the value in a hash;pushing an element to a listcomputing set intersectionunion and difference; or getting the member with highest ranking in a sorted set.

用户可以在这些类型上执行原子操作:追加字符串,增加哈希表中的某个值,在列表中增加一个元素,计算集合的交集、并集或差集,获取一个有序集合中最大排名的元素等等。

In order to achieve its outstanding performance, Redis works with an in-memory dataset. Depending on your use case, you can persist it either by dumping the dataset to disk every once in a while, or by appending each command to a log. Persistence can be optionally disabled, if you just need a feature-rich, networked, in-memory cache.

为了获取其卓越的性能,redis在内存数据集合上工作。取决于用户的用例,用户可以持久化其数据,可以通过偶尔转储内存数据集到磁盘上或在一个日志文件中写入每条操作命令。如果用户仅需求一个功能丰富的联网内存数据库,那么 持久化操作可以选择性被禁用。

Redis also supports trivial-to-setup master-slave asynchronous replication, with very fast non-blocking first synchronization, auto-reconnection with partial resynchronization on net split.

redis也支持主从式异步复制:第一次将是非常快的非阻塞同步,之后自动重连进行部分再同步。

Other features include:

Transactions

Pub/Sub

Lua scripting

Keys with a limited time-to-live

LRU eviction of keys

Automatic failover

You can use Redis from most programming languages out there.

Redis is written in ANSI C and works in most POSIX systems like Linux, *BSD, OS X without external dependencies. Linux and OS X are the two operating systems where Redis is developed and more tested, and we recommend using Linux for deploying. Redis may work in Solaris-derived systems like SmartOS, but the support is best effort. There is no official support for Windows builds, but Microsoft develops and maintains a Win-64 port of Redis.

用户可以使用大多数的编程语言来使用redis。

redis使用ANSI C编写,并可以在大多数POSIX系统中使用,例如Linux、BSD系列、无内部依赖的OS X系统。Linux和OS X系统是redis开发并进行较多测试的系统,因此我们这里推荐部署时候采用Linux系统。redis可能可以在Solaris衍生系统上工作,例如SmartOS,但是支持就是最大的努力。对于Windows,当前并没有官方的支持,但微软开发维护了一款redis的Win 64移植版本。

redis安装(windows 64)


• 下载地址

源代码包下载https://github.com/MSOpenTech/redis

二进制包下载https://github.com/ServiceStack/redis-windows/tree/master/downloads

• 编译二进制包

You can use the free Visual Studio 2013 Community Edition. Regardless which Visual Studio edition you use, make sure you have updated to Update 5, otherwise you will get a "illegal use of this type as an expression" error.

Open the solution file msvs\redisserver.sln in Visual Studio, select a build configuration (Debug or Release) and target (x64) then build.

This should create the following executables in the msvs\$(Target)\$(Configuration) folder:

redis-server.exe

redis-benchmark.exe

redis-cli.exe

redis-check-dump.exe

redis-check-aof.exe

• 安装方法

将编译好的上述文件和源码包下的redis.conf、sentinel.conf文件(或下载已经编译好的二进制包)拷贝到制定文件夹,并加入系统路径。运行redis-server.exe进行安装验证:

• 例子测试

▶ 运行cmd.exe,启动redis服务的doc窗口,并保持窗口不关闭;

▶ 运行cmd.exe,启动redis的客户端工具redis-cli.exe进行测试。

[redis] 介绍安装的更多相关文章

  1. [Redis_1] Redis 介绍 && 安装

    0. 说明 Redis 介绍 && 安装 1. Redis 介绍 2. Redis 安装(Windows 10) [2.1 解压 redis-2.2.2-win32-win64.rar ...

  2. Go语言技术教程:Redis介绍安装和使用

    Redis介绍 我们日常的开发,数据都需要进行持久化存储,常见的持久化存储有很多种,比如数据库,文件,计算机内存,甚至云服务器等都是持久化存储数据的方式.而就数据库而言,经常又会被人们分为关系型数据库 ...

  3. Go语言资源教程:Redis介绍安装和使用

    Redis的操作和使用 在安装好redis以后,我们这里给大家讲一下redis操作的一些知识. Redis支持的数据类型:string,hash,list,set,sorted set 我们来练习一下 ...

  4. Redis介绍以及安装(Linux)

    Redis介绍以及安装(Linux) redis是当前比较热门的NOSQL系统之一,它是一个key-value存储系统.和Memcached类似,但很大程度补偿了memcached的不足,它支持存储的 ...

  5. redis介绍、安装、redis持久化、redis数据类型

    1.redis介绍  2.安装管网:https://redis.io/下载:wget -c http://download.redis.io/releases/redis-4.0.11.tar.gz解 ...

  6. Redis介绍和安装

    一. Redis的介绍 Redis 是一个Key-Value存储的系统:它支持存储的value类型有string(字符串),list(列表),set(集合),zset(有序集合):为了保证效率:数据都 ...

  7. redis介绍以及安装

    一.redis介绍 redis是一个key-value存储系统.和Memcached类似,它支持存储的values类型相对更多,包括字符串.列表.哈希散列表.集合,有序集合. 这些数据类型都支持pus ...

  8. Redis介绍以及安装(Linux)

    Redis介绍以及安装(Linux) redis是当前比较热门的NOSQL系统之一,它是一个key-value存储系统.和Memcached类似,但很大程度补偿了memcached的不足,它支持存储的 ...

  9. Redis介绍及安装

    官网:https://redis.io/ Redis中文社区:http://www.redis.net.cn/ Redis教程:http://www.redis.net.cn/tutorial/350 ...

随机推荐

  1. git上传GitHub并预览

  2. OpenStack cloud 第一天

    这是刚接触openstack时候,看到的第一篇文章,感触很深,自己很喜欢的一个词Horizon就是出自本文   ============================================ ...

  3. Centos 升级 python

    昨天把redmine的测试环境给搞Over了,想了下,干脆直接把环境给整成docker化的,配置环境的时候,安装docker-compose需要python2.7支持. CentOS 6 系统默认 P ...

  4. split陷阱

    如果split最后一个为空,则要这么写 String[] lines=line.split(",",-1);

  5. url分发、isinstance、request.GET请求之QueryDict和urlencode、post和get请求、limit_choices_to(Model字段)

    这个的路径是怎么来的,是有一个个的url路由分发过来的 这两个是相等的,若url后面加括号了,那么前面就不用这个装饰器了:反之,若装饰器使用了,那么这个url后面就不要加括号了 eg:其他的views ...

  6. 为什么 Redis 重启后没有正确恢复之前的内存数据

    安装 Redis 后,默认配置下启动会得到如下日志: [] Sep ::! Background save may fail under low memory condition. To fix th ...

  7. java 中的继承

    继承的概念 继承就是子类继承父类的特征和行为,使得子类具有父类得属性和方法. 继承得关键字:extends 语法格式:<modifier> class <name> [exte ...

  8. opengl学习笔记(二):使用OpenCV来创建OpenGL窗口

    通常的增强现实应用需要支持OpenGL的OpenCV来对真实场景进行渲染.从2.4.2版本开始,OpenCV在可视化窗口中支持OpenGL.这意味着在OpenCV中可轻松渲染任何3D内容. 若要在Op ...

  9. 蓝桥杯 - 数字排列(今有7对数字) - [两种不同的DFS思路]

    今有7对数字:两个1,两个2,两个3,...两个7,把它们排成一行.要求,两个1间有1个其它数字,两个2间有2个其它数字,以此类推,两个7之间有7个其它数字.如下就是一个符合要求的排列: 171264 ...

  10. LINUX系统中安装ORACLE11g的安装文档,含部分问题解答

    1.无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色 在linux as5下安装oracle11g,环境都配置好了!等运行./runInstaller的时候无法弹出安装的图形界面我 ...