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. 【Spring源码分析系列】bean的加载

    前言 以 BeanFactory bf  = new XmlBeanFactory(new ClassPathResource("beans.xml"));为例查看bean的加载过 ...

  2. 【WEB前端开发最佳实践系列】CSS篇

    一.有效组织CSS代码 规划组织CSS代码:组织CSS代码文件,所有的CSS都可以分为2类,通用类和业务类.代码的组织应该把通用类和业务类的代码放在不同的目录中. 模块内部的另一样式规则:样式声明的顺 ...

  3. Elasticsearch学习之ES节点类型以及各种节点的分工

    ES各种节点的分工 1. 客户端节点 当主节点和数据节点配置都设置为false的时候,该节点只能处理路由请求,处理搜索,分发索引操作等,从本质上来说该客户节点表现为智能负载平衡器.独立的客户端节点在一 ...

  4. linux下MySQL安装及设置(二)

    MySQL二进制分发包安装 去MySql官网下MySQL classic版mysql-5.6.30-osx10.11-x86_64.tar.gz  http://dev.mysql.com/downl ...

  5. 剖析Elasticsearch集群系列之一:Elasticsearch的存储模型和读写操作

    转载:http://www.infoq.com/cn/articles/analysis-of-elasticsearch-cluster-part01 1.辨析Elasticsearch的索引与Lu ...

  6. Xcode 6 下添加pch头文件

    没错了,Xcode 6 有着许多坑,例如新建的工程里没有默认的pch文件,当然本质上应该是为了提高编译的速度,但却让开发略微有点不方便. 话不多说,其实新建很简单 1.先新建一个PCH文件 2.设置头 ...

  7. codeforces 869A/B/C

    A. The Artful Expedient time limit per test 1 second memory limit per test 256 megabytes input stand ...

  8. Kettle 4.2源码分析第一讲--Kettle 简介

    Pentaho Data Integration(PDI)简介 1. PDI结构简介 图 1‑1 PDI核心组件 Spoon是构建ETL Jobs和Transformations的工具.Spoon可以 ...

  9. Golang 序列化方式及对比

    Golang 序列化方式及对比 - fengfengdiandia的专栏 - CSDN博客 https://blog.csdn.net/fengfengdiandia/article/details/ ...

  10. 《MYSQL必知必会》

    1. 同一个数据库中不允许出现同名表:不同的数据库中可以出现同名表2. 每一行记录都用有一个key(一列或一组列作为key)3. 作为key的列不允许值为空(NULL)4. 多个列作为key时,多个列 ...