首页> 外国专利> HASH RING LOAD BALANCING METHOD AND APPARATUS, AND ELECTRONIC DEVICE AND STORAGE MEDIUM

HASH RING LOAD BALANCING METHOD AND APPARATUS, AND ELECTRONIC DEVICE AND STORAGE MEDIUM

机译:哈希环负载平衡方法和装置,以及电子设备和存储介质

摘要

A hash ring load balancing method and apparatus, and an electronic device and a storage medium. The method comprises: virtualizing a preset number of virtual service nodes for each real service node, so as to increase the number of nodes on a hash ring; forming virtual service nodes, with the same serial number, virtualized for different real service nodes into a group, and performing sequencing according to the corresponding serial numbers of the real service nodes, such that the real service nodes corresponding to the virtual service nodes in each group are spaced; and then, connecting each group of virtual service nodes to form a full virtual service node queue according to the sequence of the serial numbers of the virtual service nodes, and uniformly distributing, according to the queue, all the virtual service nodes on the hash ring, such that not only are all the virtual service nodes uniformly distributed on the hash ring, but the various virtual service nodes virtualized for each real service node are also uniformly distributed on the hash ring.
机译:散列负载平衡方法和装置,以及电子设备和存储介质。该方法包括:为每个实际服务节点虚拟化预设数量的虚拟服务节点,以增加散列环上的节点数量;形成虚拟服务节点,使用相同的序列号,虚拟化不同的实际服务节点进入组,并根据实际服务节点的相应序列号执行排序,使得与每个虚拟服务节点对应的真实服务节点集团间隔;然后,将每组虚拟服务节点连接到根据虚拟服务节点的序列号的序列来形成完整的虚拟服务节点队列,并根据队列统一分发哈希环上的所有虚拟服务节点这样,不仅是均匀分布在散列环上的虚拟服务节点,而且对于每个实际服务节点虚拟化的各种虚拟服务节点也均匀地分布在散列环上。

著录项

  • 公开/公告号WO2021151293A1

    专利类型

  • 公开/公告日2021-08-05

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2020CN117659

  • 发明设计人 YUE WEI;

    申请日2020-09-25

  • 分类号G06F9/50;

  • 国家 CN

  • 入库时间 2024-06-14 21:54:13

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号