IP Library Granted Patent US 10,545,790
Granted Patent B2
US 10,545,790 · App. 15/691,552 · Granted Jan 28, 2020

Method and system for processing data

Inventors: Simon Tao (Shanghai, CN); Yu Cao (Beijing, CN); Zhe Dong (Beijing, CN); Sanping Li (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F9/4856G06F9/4881G06F16/9024
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,545,790
App. No.
15/691,552
Granted
Jan 28, 2020
Kind
B2
Abstract

Embodiments of the present invention relates to a method and system for processing data. Specifically, there is provided a method for processing data, comprising: in response to receiving an adjustment request for adjusting the number of consumer instances from a first number to a second number, determining an adjustment policy on adjusting a first distribution of states associated with the first number of consumer instances to a second distribution of the states associated with the second number of consumer instances, the states being intermediate results of processing the data; migrating the states between the first number of the consumer instances and the second number of the consumer instances according to the adjustment policy; and processing the data based on the second distribution of the states at the second number of the consumer instances. In other embodiments, there are further provided a device and system for processing data.

Claims (60)

1. A method for processing data, comprising:

receiving an adjustment request for adjusting a number of consumer instances from a first number to a second number;

determining an adjustment policy on adjusting a first distribution of states associated with the first number of consumer instances to a second distribution of the states associated with the second number of consumer instances, the states being intermediate results of processing the data;

migrating the states between the first number of the consumer instances and the second number of the consumer instances according to the adjustment policy; and

processing the data based on the second distribution of the states at the second number of the consumer instances; and

wherein the method further comprises:

before migrating the states, at a third number of producer instances that is at upstream of the first number of consumer instances, sending an adjustment indicator to the first number of the consumer instances, the adjusting indicator indicating that data dispatched after the adjustment indicator is dispatched according to the second distributions of the states.

2. The method according to claim 1 , wherein the determining the adjustment policy comprises:

determining migration overhead for adjusting the first distribution of the states to the second distributions of the states; and

determining the adjustment policy based on the migration overhead.

3. The method according to claim 2 , wherein the determining the migration overhead comprises: determining the migration overhead based on a consistent hashing algorithm.

4. The method according to claim 1 , further comprising: after sending the adjustment indicator,

dispatching the data from the third number of producer instances to the second number of consumer instances according to the second distribution of the states.

5. The method according to claim 1 , wherein the migrating the states according to the adjustment policy comprises:

in response to receiving adjustment indicators from all upstream producer instances at a consumer instance among the first number of the consumer instances, migrating a relevant portion of the states to an associated further consumer instance among the second number of the consumer instances according to the adjustment policy.

6. The method according to claim 5 , further comprising:

before receiving adjustment indicators from all upstream producer instances at the consumer instance, processing the data at the consumer instance based on the first distribution of the states.

7. The method according to claim 6 , further comprising:

before receiving adjustment indicators from all upstream producer instances at the consumer instance, caching at the further consumer instance data that is dispatched from the third number of the producer instances.

8. The method according to claim 7 , further comprising:

in response to receiving at the further consumer instance the portion of the states that are migrated from the consumer instance, processing the cached data based on the portion.

9. The method according to claim 1 , further comprising any of:

in response to determining that a workload for processing the data increases, sending the adjustment request for increasing the number of the consumer instances from the first number to the second number; and

in response to determining that a workload for processing the data decreases, sending the adjustment request for decreasing the number of the consumer instances from the first number to the second number.

10. A system for processing data, comprising:

one or more processors;

a memory coupled to at least one processor of the one or more processors;

computer program instructions stored in the memory which, when executed by the at least one processor, cause the system to execute a method for processing data, the method comprising:

receiving an adjustment request for adjusting a number of consumer instances from a first number to a second number;

determining an adjustment policy on adjusting a first distribution of states associated with the first number of consumer instances to a second distribution of the states associated with the second number of consumer instances, the states being intermediate results of processing the data;

migrating the states between the first number of the consumer instances and the second number of the consumer instances according to the adjustment policy; and

processing the data based on the second distribution of the states at the second number of the consumer instances; and

wherein the method further comprises:

before migrating the states, at a third number of producer instances that is at upstream of the first number of consumer instances, sending an adjustment indicator to the first number of the consumer instances, the adjusting indicator indicating that data dispatched after the adjustment indicator is dispatched according to the second distributions of the states.

11. The system according to claim 10 , wherein the determining the adjustment policy comprises:

determining migration overhead for adjusting the first distribution of the states to the second distributions of the states; and

determining the adjustment policy based on the migration overhead.

12. The system according to claim 11 , wherein the determining the migration overhead comprises: determining the migration overhead based on a consistent hashing algorithm.

13. The system according to claim 10 , wherein the method further comprises: after sending the adjustment indicator,

dispatching the data from the third number of producer instances to the second number of consumer instances according to the second distribution of the states.

14. The system according to claim 10 , wherein the migrating the states according to the adjustment policy comprises:

receiving adjustment indicators from all upstream producer instances at a consumer instance among the first number of the consumer instances; and

migrating a relevant portion of the states to an associated further consumer instance among the second number of the consumer instances according to the adjustment policy.

15. The system according to claim 14 , wherein the method further comprises:

before receiving adjustment indicators from all upstream producer instances at the consumer instance, processing the data at the consumer instance based on the first distribution of the states.

16. The system according to claim 15 , wherein the method further comprises:

before receiving adjustment indicators from all upstream producer instances at the consumer instance, caching at the further consumer instance data that is dispatched from the third number of the producer instances.

17. The system according to claim 16 , wherein the method further comprises:

in response to receiving at the further consumer instance the portion of the states that are migrated from the consumer instance, processing the cached data based on the portion.

18. The system according to claim 10 , wherein the method further comprises:

in response to determining that a workload for processing the data increases, sending the adjustment request for increasing the number of the consumer instances from the first number to the second number; and

in response to determining that a workload for processing the data decreases, sending the adjustment request for decreasing the number of the consumer instances from the first number to the second number.

19. A computer program product having a non-transitory computer readable medium which stores a set of instructions to process data; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

receiving an adjustment request for adjusting a number of consumer instances from a first number to a second number;

determining an adjustment policy on adjusting a first distribution of states associated with the first number of consumer instances to a second distribution of the states associated with the second number of consumer instances, the states being intermediate results of processing the data;

migrating the states between the first number of the consumer instances and the second number of the consumer instances according to the adjustment policy; and

processing the data based on the second distribution of the states at the second number of the consumer instances; and

wherein the method further comprises:

before migrating the states, at a third number of producer instances that is at upstream of the first number of consumer instances, sending an adjustment indicator to the first number of the consumer instances, the adjusting indicator indicating that data dispatched after the adjustment indicator is dispatched according to the second distributions of the states.

20. The computer program product as in claim 19 , wherein the computerized circuitry is constructed and arranged to dynamically adjust computing resources at runtime of a stream processing application which operates in accordance with a Directed Acyclic Graph (DAG) topology.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (044535/0109) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 060753/0414 →
RELEASE OF SECURITY INTEREST AT REEL 044535 FRAME 0001 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058298/0475 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
KEY EMPLOYEE AGREEMENT Recorded Dec 20, 2017
From: DONG, ZHE
To: EMC CORPORATION
Reel/Frame 044918/0306 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2017
From: TAO, SIMON; CAO, YU; LI, SANPING
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 044445/0820 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Nov 29, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 044535/0109 →
PATENT SECURITY AGREEMENT (CREDIT) Recorded Nov 29, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 044535/0001 →
Priority Claims (1)
CN 2016 1 0780989 · Aug 30, 2016 · national
Continuity (1)
Related Publication 20180060118A1 · Mar 1, 2018