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. Qt获取CPU编号和硬盘序列号

    windows下执行命令除了用cmd之外,还有个东西叫WMIC,非常强大,可以通过他获取很多信息,包括硬件信息. QString frmMain::getWMIC(const QString & ...

  2. 【数据库系列】MySql中的select的锁表范围

    由于InnoDB预设的是Row-Level Lock,只有明确指定主键的时候MySql才会执行Row lock,否则MySql将会执行Table Lock. 1.明确指定主键则是行锁 2.明确指定主键 ...

  3. 【大数据系列】MapReduce详解

    MapReduce是hadoop中的一个计算框架,用来处理大数据.所谓大数据处理,即以价值为导向,对大数据加工,挖掘和优化等各种处理. MapReduce擅长处理大数据,这是由MapReduce的设计 ...

  4. 跟我一起写Makefile:使用函数

    跟我一起写Makefile:使用函数 两个排版不一样 书籍下载 书籍下载

  5. Linux 安装GCC讲解(在线和无网离线)

    本文主要介绍如何在无网络的环境下怎么离线安装GCC,如果有网,只需要通过命令 yum install gcc 进行安装就可以了,yum会自动把所有关联的依赖包也一起安装了,一键安装. yum inst ...

  6. create-react-app中img图片不现实

    场景:正常的情况下是这么引用图片,我的图片路径是 src/images/login-from-icon1.png <img src="../images/login-from-icon ...

  7. 【咸鱼教程】JsZip压缩与解压教程

    引擎版本3.0.6 教程目录一 为什么要用jszip二 如何使用jszip    2.1 下载jszip库    2.2 导入jszip库    2.3 加载和解压zip代码三 Demo源码下载 一 ...

  8. 深入浅出WPF之Binding的使用(一)

    在WPF中Binding可以比作数据的桥梁,桥梁的两端分别是Binding的源(Source)和目标(Target).一般情况下,Binding源是逻辑层对象,Binding目标是UI层的控件对象:这 ...

  9. [SQL] 用SQL语句检查CPU和磁盘空间

    在MS Sql Server中可以能过以下的方法查询出磁盘空间的使用情况及各数据库数据文件及日志文件的大小及使用利用率: 1.查询各个磁盘分区的剩余空间:Exec master.dbo.xp_fixe ...

  10. mysql 存储过程用程序调的问题

    记一下,存储过程加了commit结果用mysql客户端执行不报错,用jdbcTemplate执行就执行了一步,因为加了commit后面的程序都不跑了.另外 存储过程里面如果用java调的话select ...