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. LeetCode——Implement Trie (Prefix Tree)

    Description: Implement a trie with insert, search, and startsWith methods. Note:You may assume that ...

  2. Linux 如何开启SFTP

    一.SFTP讲解 SFTP 是Secure File Transfer Protocol的缩写,安全文件传送协议.可以为传输文件提供一种安全的加密方法. SFTP 与 FTP有着几乎一样的语法和功能. ...

  3. Mysql 的事务隔离级别

    SQL标准定义了4类隔离级别,包括了一些具体规则,用来限定事务内外的哪些改变是可见的,哪些是不可见的.低级别的隔离级一般支持更高的并发处理,并拥有更低的系统开销.Read Uncommitted(读取 ...

  4. vue实现按需加载(懒加载)

    1.router文件中使用 export default new Router({ routes: [{ path: '/', name: 'Post', component: () => im ...

  5. Android 音视频同步(A/V Sync)

    1.  音视频同步原理 1)时间戳 音视频同步主要用于在音视频流的播放过程中,让同一时刻录制的声音和图像在播放的时候尽可能的在同一个时间输出. 解决音视频同步问题的最佳方案就是时间戳:首先选择一个参考 ...

  6. Java中的一些性能监控和故障分析工具

    这些工具都在JDK的bin目录下,如果配置了java的环境变量,可以直接在命令行里调用这些小工具 jps 查看java进程信息 jstat java虚拟机状态监控工具 jstat -gc(或 -gcn ...

  7. 集成maven和Spring boot的profile 专题

    maven中配置profile节点: <project> .... <profiles> <profile> <!-- 生产环境 --> <id& ...

  8. hdu4998 Rotate【计算几何】

    Noting is more interesting than rotation!  Your little sister likes to rotate things. To put it easi ...

  9. HDU 6447 - YJJ's Salesman - [树状数组优化DP][2018CCPC网络选拔赛第10题]

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6447 Problem DescriptionYJJ is a salesman who has tra ...

  10. Unity事件处理机制与NGUI事件机制

    1 Unity原生 1.1 GUI void OnGUI(){ if(GUI.Button(Rect position, string text)){ //点击后立即执行 } 1.1 Input 每个 ...