Redishttps://redis.io/documentation

文档 Documentation

注:Redis 文档

Note: The Redis Documentation is also available in raw (computer friendly) format in the redis-doc github repository. The Redis Documentation is released under the Creative Commons Attribution-ShareAlike 4.0 International license.

使用 Redis 编程

Programming with Redis

  • Redis 实现的全部命令在文档中贯穿始终地进行讲解。  The full list of commands implemented by Redis, along with thorough documentation for each of them.
  • 学习如何一次发送多条命令  Pipelining: Learn how to send multiple commands at once, saving on round trip time.
  • Redis 发布/订阅:Redis Pub/Sub: Redis is a fast and stable Publish/Subscribe messaging system! Check it out.
  • 内存优化:Memory optimization: Understand how Redis uses RAM and learn some tricks to use less of it.
  • 过期:Redis 允许为每一个键设置一个不同的存活时间,以便 这个键在过期时会自动移除。Expires: Redis allows to set a time to live different for every key so that the key will be automatically removed from the server when it expires.
  • Redis 作为一个最近使用原则缓存:Redis as an LRU cache: How to configure and use Redis as a cache with a fixed amount of memory and auto eviction of keys.
  • Redis 事务:Redis transactions: It is possible to group commands together so that they are executed as a single transaction.
  • 客户端缓存:Client side caching: Starting with version 6 Redis supports server assisted client side caching. This document describes how to use it.
  • 大量数据插入:Mass insertion of data: How to add a big amount of pre existing or generated data to a Redis instance in a short time.
  • 分区:如何在多个 Redis 实例之间分布数据 Partitioning: How to distribute your data among multiple Redis instances.
  • 使用 Redis 实现一个分布式锁管理器 Distributed locks: Implementing a distributed lock manager with Redis.
  • Redis 关键空间通知:Redis keyspace notifications: Get notifications of keyspace events via Pub/Sub (Redis 2.8 or greater).
  • 使用 Redis 创建辅助索引:Creating secondary indexes with Redis: Use Redis data structures to create secondary indexes, composed indexes and traverse graphs.

Redus 可编程(扩展)能力 Redis programmability

  • Redis Programability: An overview of programmability in Redis.
  • Redis Lua API: Reference about the embedded Lua 5.1 interepreter runtime environment and APIs.
  • Introduction to Eval Scripts: An introduction about using cached scripts.
  • Introduction to Redis Functions: An introduction about using functions.
  • Debugging Lua scripts: An overveiw of the native Redis Lua debugger for cached scripts.

Redis 模块接口 Redis modules API

  • Introduction to Redis modules. A good place to start learing about Redis 4.0 modules programming.
  • Implementing native data types. Modules scan implement new data types (data structures and more) that look like built-in data types. This documentation covers the API to do so.
  • Blocking operations with modules. This is still an experimental API, but a very powerful one to write commands that can block the client (without blocking Redis) and can execute tasks in other threads.
  • Redis modules API reference. Directly generated from the top comments in the source code inside src/module.c. Contains many low level details about API usage.

教程以及问答 Tutorials & FAQ

  • Introduction to Redis data types: This is a good starting point to learn the Redis API and data model.
  • Introduction to Redis streams: A detailed description of the Redis 5 new data type, the Stream.
  • Writing a simple Twitter clone with PHP and Redis
  • Auto complete with Redis
  • Data types short summary: A short summary of the different types of values that Redis supports, not as updated and info rich as the first tutorial listed in this section.
  • FAQ: Some common questions about Redis.

管理 Administration

  • 快速开始:如何快速安装和配置 Redis 。这篇针对没有丰富 Redis 预备经验的人。Quick Start: How to quickly install and configure Redis. This targets people without prior experience with Redis.
  • Redis-cli Redis 客户端:Redis-cli: Learn how to master the Redis command line interface, something you'll be using a lot in order to administer, troubleshoot and experiment with Redis.
  • 配置:Configuration: How to configure redis.
  • 复制:你需要知道的内容,以便搭建主备复制。Replication: What you need to know in order to set up master-replicas replication.
  • Persistence: Know your options when configuring Redis' durability.
  • Redis 管理:Redis Administration: Selected administration topics.
  • 安全:Security: An overview of Redis security.
  • Redis 访问控制列表:Redis Access Control Lists: Starting with version 6 Redis supports ACLs. It is possible to configure users able to run only selected commands and able to access only specific key patterns.
  • 加密:Encryption: How to encrypt Redis client-server communication.
  • 信号处理:Signals Handling: How Redis handles signals.
  • 连接处理:Connections Handling: How Redis handles clients connections.
  • 高可用:High Availability: Redis Sentinel is the official high availability solution for Redis.
  • Redis Releases: Redis development cycle and version numbering.

性能 Performance

  • Latency monitoring: Redis integrated latency monitoring and reporting capabilities are helpful to tune Redis instances for low latency workloads.
  • Benchmarks: See how fast Redis is in different platforms.
  • Redis on-CPU profiling and tracing: See how to perform on-CPU resource bottlenecks analysis in Redis.

嵌入式和物联网 Embedded and IoT

  • Redis on ARM and Raspberry Pi: Starting with Redis 4.0 ARM and the Raspberry Pi are officially supported platforms. This page contains general information and benchmarks.
  • A reference implementation of Redis for IoT and Edge Computing can be found here.

问题 Troubleshooting

  • Redis problems?: Bugs? High latency? Other issues? Use our problems troubleshooting page as a starting point to find more information.

Redis 集群 Redis Cluster

  • Redis Cluster tutorial: a gentle introduction and setup guide to Redis Cluster.
  • Redis Cluster specification: the more formal description of the behavior and algorithms used in Redis Cluster.

命令运行时内省 Command runtime introspection

  • Command key specifications: as of Redis 7.0, the server reports how to extract the names of keys accessed by every command.
  • Command tips: tips communicate non-trivial execution modes and post-processing information about commands.
  • Command arguments: an overview of command arguments as returned by the COMMAND DOCS command.

其它基于 Redis 的分布式系统 Other distributed systems based on Redis

  • Redis CRDTs an active-active geo-distribution solutions for Redis.
  • Roshi is a large-scale CRDT set implementation for timestamped events based on Redis and implemented in Go. It was initially developed for the SoundCloud stream.

Redis on SSD and persistent memory

  • Redis on Flash by Redis Ltd. extends DRAM capacity with SSD and persistent memory.

规范 Specifications

  • Redis Design Drafts: Design drafts of new proposals.
  • Redis Protocol specification: if you're implementing a client, or out of curiosity, learn how to communicate with Redis at a low level.
  • Redis RDB format specification, and RDB version history.
  • Internals: Learn details about how Redis is implemented under the hood.

资源 Resources

  • Redis Cheat Sheet: Online or printable function reference for Redis.

用例 Use cases

  • Who is using Redis

书籍 Books

The following is a list of books covering Redis that are already published. Books are ordered by release date (newer books first).

  • Mastering Redis (Packt, 2016) by Jeremy Nelson.
  • Redis Essentials (Packt, 2015) by Maxwell Da Silva and Hugo Tavares
  • Redis in Action (Manning, 2013) by Josiah L. Carlson (early access edition).
  • Instant Redis Optimization How-to (Packt, 2013) by Arun Chinnachamy.
  • Instant Redis Persistence (Packt, 2013) by Matt Palmer.
  • The Little Redis Book (Free Book, 2012) by Karl Seguin is a great free and concise book that will get you started with Redis.
  • Redis Cookbook (O'Reilly Media, 2011) by Tiago Macedo and Fred Oliveira.

The following books have Redis related content but are not specifically about Redis:

  • Seven databases in seven weeks (The Pragmatic Bookshelf, 2012).
  • Mining the Social Web (O'Reilly Media, 2011)
  • Professional NoSQL (Wrox, 2011)

Credits

Redis is developed and maintained by the Redis community.

The project was created, developed and maintained by Salvatore Sanfilippo until June 30th, 2020. In the past Pieter Noordhuis and Matt Stancliff provided a very significant amount of code and ideas to both the Redis core and client libraries.

The full list of Redis contributors can be found in the Redis contributors page at Github. However there are other forms of contributions such as ideas, testing, and bug reporting. When it is possible, contributions are acknowledged in commit messages. The mailing list archives and the Github issues page are good sources to find people active in the Redis community providing ideas and helping other users.

Sponsors

The work Salvatore Sanfilippo does in order to develop Redis is sponsored by Redis Ltd. Other sponsors and past sponsors of the Redis project are listed in the Sponsors page.

License, Trademark and Logo

  • Redis is released under the three clause BSD license. You can find additional information in our license page.
  • The Redis trademark and logos are owned by Redis Ltd., please read the Redis trademark guidelines for our policy about the use of the Redis trademarks and logo.

Redis 官方文档译注相关推荐

  1. 《Redis官方文档》用Redis构建分布式锁

    <Redis官方文档>用Redis构建分布式锁 用Redis构建分布式锁 在不同进程需要互斥地访问共享资源时,分布式锁是一种非常有用的技术手段. 有很多三方库和文章描述如何用Redis实现 ...

  2. StackExchange.Redis 官方文档(五) Keys, Values and Channels

    StackExchange.Redis 官方文档(五) Keys, Values and Channels 原文:StackExchange.Redis 官方文档(五) Keys, Values an ...

  3. Redis官方文档(入门必备)

    函数大全 中文文档 官方文档

  4. 《Redis官方文档》Redis调试指南

    原文链接      译者:Adeline Redis开发过程中十分注重其稳定性:我们尽一切努力来保证每一个版本的稳定,不出现突然崩溃等情况.但是即使在我们百分百的努力下,仍然没办法保证百分百的无bug ...

  5. Redis 官方文档阅读之 High Availability

    文章目录 Distributed nature of Sentinel(sentinel的分布式特性) Quick Start Obtaining Sentinel(获取哨兵) Running Sen ...

  6. redis官方文档中文版_Partitioning : 怎么样将你的数据分布在多个redis instance上?

    本文转载自[url]http://skynetdoc.com/?p=119[/url] 本人顺便修正了一些文字上的复制粘贴小错误,以及更新了一些文字以和英文版保持一致. Partitioning 能够 ...

  7. StackExchange.Redis官方文档(四)【键、值以及通道】

    键.值以及通道 在对待Redis时候,键和其他的事物之间有个相当重要的区别.键是在数据库中一段数据的唯一标识(可能String,List,Hash或者其他的Redis数据类型).键是没有任何实质意义, ...

  8. 《Redis官方文档》用Redis构建分布式锁(悲观锁)

    2019独角兽企业重金招聘Python工程师标准>>> **用Redis构建分布式锁 ** 在不同进程需要互斥地访问共享资源时,分布式锁是一种非常有用的技术手段. 有很多三方库和文章 ...

  9. 《Redis官方文档》 FAQ

    参考:http://ifeve.com/redis-faq/ 为什么Redis与其他的k-v存储相比不一样 有两个主要的原因 redis在键-值数据库中是一个不同的发展方向,值可以包含更复杂的数据类型 ...

  10. 《Redis官方文档》事件库

    究竟为什么需要一个事件库呢?让我们通过下面一系列问答来了解为什么. 问:你希望网络服务器持续不断地做什么事? 答:监听端口上进来的连接请求并接收它们. 问:调用套接字的Accept方法产生一个描述符, ...

最新文章

  1. android数据库查找一个字符,Android - 如何在Firebase数据库中对字符串进行简单搜索?_android_开发99编程知识库...
  2. 不想写脚本清理 mongodb 中的垃圾数据,ttlIndex 能帮到你!
  3. Binding是WPF的核心,WPF的常用数据源绑定有四种
  4. java9-1.类,抽象类,接口的综合小练习
  5. 算法及时间/空间复杂度的分析
  6. Android开发笔记(十八)书籍翻页动画PageAnimation
  7. Python套接字编程(1)——socket模块与套接字编程
  8. Minecraft 1.12.2MOD Forge开发帮助文档 (持续更新)
  9. vim中字符串的替换
  10. ms08067 分析与利用
  11. 关于10进制转2进制的C语言代码
  12. 宜品优享抽奖系统小程序,多方式真是展示抽奖功能
  13. 【2018慢性病与信息大会】周脉耕:信息化助力基层慢病管理
  14. Python+PIL 轻松制作九宫格图片
  15. 第一节:(4)逻辑工艺线上量测简介
  16. JAVA 导入数据到Elasticsearch中
  17. 几何画板怎么画圆锥曲线,原来这么简单
  18. css 真正意义上达到height:100%,自适应屏幕高度
  19. Uniapp离线打包使用高德地图教程及常见问题
  20. 洗牌——114514

热门文章

  1. VC2008下编译OpenSSL
  2. 免费下载百度文库文档
  3. API函数简介 转自洪恩在线
  4. 给大家介绍一款相亲交友小程序
  5. navicat导入sql语句
  6. POP3协议(电子邮件邮局协议)中UIDL和TOP命令在实际使用中的作用
  7. java 第三方jar推荐_java 开发第三方Jar包
  8. 卷积神经网络+用pytorch构建神经网络
  9. 005 IK-analyzer添加搜狗词库
  10. IDEA JetBrains Mono 字体安装