首页> 外国专利> Distributed Messaging System and Method for Dynamic Partitioning in Distributed Messaging System

Distributed Messaging System and Method for Dynamic Partitioning in Distributed Messaging System

机译:分布式消息系统和分布式消息系统中的动态分区方法

摘要

Disclosed in the present invention are a distributed messaging system and a dynamic partitioning method in the distributed messaging system. According to an embodiment of the present invention, the dynamic partitioning method in the distributed messaging system may comprise the steps of: determining whether a consumer having no allocated partition exists among a plurality of consumers; equally dividing messages remaining in a first partition in half among the plurality of partitions, creating two new partitions, and storing the equally divided messages in the two new partitions, respectively; allocating the two new partitions to the consumer having no allocated partition and a consumer that was assigned to the first partition, respectively; and updating metadata including list information about partitions and mapping information between each consumer and partitions assigned to each consumer.
机译:本发明公开了一种分布式消息系统和该分布式消息系统中的动态分区方法。根据本发明的实施例,分布式消息系统中的动态分区方法可以包括以下步骤:确定多个消费者中是否存在没有分配的分区的消费者;以及将剩余在第一分区中的消息平均划分为多个分区中的一半,创建两个新分区,并将均等划分的消息分别存储在两个新分区中;将这两个新分区分别分配给没有分配分区的使用者和分配给第一个分区的使用者;更新元数据,该元数据包括有关分区的列表信息以及每个使用者和分配给每个使用者的分区之间的映射信息。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号