首页> 外国专利> IMPLEMENTATION METHOD AND APPARATUS FOR REDIS REPLICA SET

IMPLEMENTATION METHOD AND APPARATUS FOR REDIS REPLICA SET

机译:REDIS副本集的实现方法和装置

摘要

An implementation method and apparatus for a Redis replica set, the method comprising the following steps: S1. using a preset method to detect the activity of a proxy, and achieving high availability for the proxy; S2. achieving automatic failover, manual master-slave node switching, automatic sentinel switching, self-rescue of failed nodes, and split-brain multi-master detection by means of preset rules; and S3. the proxy obtains the latest structure information of a database Redis by using a preset rule, and corrects a routing request. The beneficial effects are: by means of collaboratively using Proxy, KeepAlived, Redis-server, Redis-sentinel and Check-sentinel scripts, the lowest configuration Redis can be used to achieve a high-availability solution, which not only effectively solves the problem in which split brain and virtual machine downtime cannot be switched, but also effectively solves the multi-master problem after a virtual machine is started. At the same time, the addition of the proxy can provide protection for Redis, such as the shielding of performance loss commands and the client connection full filling of Redis causing Redis to exit abnormally and so on.
机译:一种用于Redis副本集的实现方法和装置,该方法包括以下步骤:S1。使用预设方法检测代理的活动,并实现代理的高可用性;S2。通过预设规则实现自动故障切换、手动主从节点切换、自动哨兵切换、故障节点自救、裂脑多主检测;和S3。代理使用预设规则获取数据库Redis的最新结构信息,并更正路由请求。其有益效果是:通过协作使用Proxy、KeepAlived、Redis server、Redis sentinel和Check sentinel脚本,可以使用最低配置的Redis实现高可用性解决方案,不仅有效解决了拆分大脑和虚拟机停机时间无法切换的问题,同时也有效地解决了虚拟机启动后的多主机问题。同时,添加代理可以为Redis提供保护,比如屏蔽性能损失命令,以及Redis客户端连接完全填充导致Redis异常退出等。

著录项

  • 公开/公告号WO2022036901A1

    专利类型

  • 公开/公告日2022-02-24

    原文格式PDF

  • 申请/专利权人 UNICLOUD (NANJING) DIGITAL TECHNOLOGY CO. LTD.;

    申请/专利号WO2020CN130220

  • 发明设计人 YU ZHANSHUI;

    申请日2020-11-19

  • 分类号G06F11/20;

  • 国家 CN

  • 入库时间 2024-06-14 22:46:18

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号