redis各个配置文件的中英文翻译(持续更新中)


前言

文章主要用于记录自己学习笔记和理解,如有错误欢迎指出,与君共勉

注:
1. 纯机器翻译,读起来会有点拗口,但是基本可以理解文章的主要内容,英文水平高的朋友可以帮忙翻译一下,感谢
2.redis的版本不同,可能内容会有差异

redis/utils/create-cluster/README

  • 英文版
Create-custer is a small script used to easily start a big number of Redis
instances configured to run in cluster mode. Its main goal is to allow manual
testing in a condition which is not easy to replicate with the Redis cluster
unit tests, for example when a lot of instances are needed in order to trigger
a given bug.

The tool can also be used just to easily create a number of instances in a
Redis Cluster in order to experiment a bit with the system.

USAGE
---

To create a cluster, follow these steps:

1. Edit create-cluster and change the start / end port, depending on the
number of instances you want to create.
2. Use "./create-cluster start" in order to run the instances.
3. Use "./create-cluster create" in order to execute redis-trib create, so that
an actual Redis cluster will be created.
4. Now you are ready to play with the cluster. AOF files and logs for each instances are created in the current directory.

In order to stop a cluster:

1. Use "./create-cluster stop" to stop all the instances. After you stopped the instances you can use "./create-cluster start" to restart them if you change your mind.
2. Use "./create-cluster clean" to remove all the AOF / log files to restart with a clean environment.

Use the command "./create-cluster help" to get the full list of features.
  • 中文版
Create-custer是一个小脚本,用来轻松启动大量的Redis配置为以集群模式运行的实例。
它的主要目标是允许手动操作在Redis集群不容易复制的条件下进行单元测试,例如当需要很多实例来触发时
一个给定的bug。
该工具也可以用来轻松地在一个Redis集群为了实验一点与系统。
使用
---
创建集群的步骤如下:
1. 编辑create-cluster并更改开始/结束端口,这取决于要创建的实例数。
2. 使用”./create-cluster start”,以便运行实例。
3.使用”./create-cluster create”,以便执行redisb -trib create,这样创建一个真正的Redis集群。
4. 现在您已经准备好使用集群了。每个实例的AOF文件和日志都在当前目录中创建。
停止集群:
1. 使用”./create-cluster stop”停止所有实例。在你停止实例后,你可以使用。/create-cluster start”,如果您改变主意,可以重新启动它们。
2. 使用”./create-cluster clean”删除所有的AOF /日志文件,以一个干净的环境重新启动。
使用命令”./create-cluster help”来获取完整的特性列表。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值