Balancing data partitions between dynamic services in cloud environment

A method includes identifying, by a first instance of a service, a first number of data partitions of a data source to be processed by the service and a second number of instances of the service available to process the first number of data partitions. The method further includes dividing the first...

Full description

Saved in:
Bibliographic Details
Main Authors BULGAZZOLI LORENZO, FERRARO NICOLA
Format Patent
LanguageChinese
English
Published 25.11.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method includes identifying, by a first instance of a service, a first number of data partitions of a data source to be processed by the service and a second number of instances of the service available to process the first number of data partitions. The method further includes dividing the first number of data partitions into a first set of data partitions and a second set of data partitions in consideration of a second number of instances of the service, determining a target number of data partitions from the first set of data partitions to be requested by each of the second number of instances of the service, and requiring, by the first instance of the service, a target number of data partitions from the first set of data partitions and a maximum one data partition from the second set of data partitions. 一种方法包括由服务的第一实例识别要由服务处理的数据源的第一数量的数据分区和可用于处理第一数量的数据分区的服务的第二数量的实例。该方法还包括考虑到服务的第二数量的实例,将第一数量的数据分区分成第一集合数据分区和第二集合数据分区,从第一集合数据分区中确定要由服务的第二数量的实例中的每一个要求的数据分区的目标数量,以及由服务的第一实例要求来自第一集合数据分区的数据分区的目标数量和来自第二集合数据分区的最多一个
Bibliography:Application Number: CN202110717692