# US 2021/0240714 A1 · Mechanism to synchronize, control, and merge data streams of disparate flow characteristics

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0240714 A1
- Document ID: US20210240714A1
- Status: Published application
- Kind: A1
- Application number: 16/779,398
- Filed: 2020-01-31
- Published: 2021-08-05
- Earliest claimed: 2020-01-31
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Shan-Cheng Ho; Percy Mehta; Yogesh Patel; Lucas Ung; Birva Joshi; Wing Hing Ku; Mattia Padovani
- Web page: https://patentgrep.com/patent/US20210240714A1

## CPC

- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system manage synchronization of data streams in a multi-tenant system. The method includes tracking by a flow control mechanism a recent flow rate of at least one data stream, determining by the flow control mechanism whether the flow rate of the at least one data stream varies from at least one related data stream, and adjusting by the flow control mechanism a throughput of the at least one data stream to correlate with the at least one related data stream, in response to determining that the at least one data stream has varied from the at least one related data stream.

## Claims

### Claim 1

A method of managing synchronization of data streams in a multi-tenant system, the method comprising:
tracking by a flow control mechanism a recent flow rate of at least one data stream;
determining by the flow control mechanism whether the flow rate of the at least one data stream varies from at least one related data stream; and
adjusting by the flow control mechanism a throughput of the at least one data stream to correlate with the at least one related data stream, in response to determining that the at least one data stream has varied from the at least one related data stream.

### Claim 2 (depends on 1)

The method of managing synchronization of data streams of claim 1, further comprising:
computing a current flow rate by a flow rate computation unit of a flow coordinator for the at least one data stream.

### Claim 3 (depends on 1)

The method of managing synchronization of data streams of claim 1, further comprising:
comparing a current flow rate of the at least one data stream by a flow rate examiner in a flow coordinator with a flow rate history to identify variation in recent flow rate for the at least one data stream.

### Claim 4 (depends on 1)

The method of managing synchronization of data streams of claim 1, further comprising:
sending a flow message by a flow coordinator on a common flow control channel where the flow message indicates a change in flow rate for the at least one data stream, in response to determining a variance in the flow rate of the at least one data stream.

### Claim 5 (depends on 1)

The method of managing synchronization of data streams of claim 1, further comprising:
storing flow messages from flow coordinators in a stream history by a stream flow controller.

### Claim 6 (depends on 5)

The method of managing synchronization of data streams of claim 5, further comprising:
determining by a stream flow adjustment computation unit of a stream flow controller whether to adjust a flow rate of the at least one data stream based on the stream history of related data streams.

### Claim 7 (depends on 1)

The method of managing synchronization of data streams of claim 1, further comprising:
sending by a stream flow controller a flow control message to a flow controller to adjust a flow rate of the at least one data stream.

### Claim 8

A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, will cause said processor to perform operations comprising:
tracking by a flow control mechanism a recent flow rate of at least one data stream;
determining by the flow control mechanism whether the flow rate of the at least one data stream varies from at least one related data stream; and
adjusting by the flow control mechanism a throughput of the at least one data stream to correlate with the at least one related data stream, in response to determining that the at least one data stream has varied from the at least one related data stream.

### Claim 9 (depends on 8)

The non-transitory machine-readable storage medium of claim 8, the operations further comprising:
computing a current flow rate by a flow rate computation unit of a flow coordinator for the at least one data stream.

### Claim 10 (depends on 8)

The non-transitory machine-readable storage medium of claim 8, the operations further comprising:
comparing a current flow rate of the at least one data stream by a flow rate examiner in a flow coordinator with a flow rate history to identify variation in recent flow rate for the at least one data stream.

### Claim 11 (depends on 8)

The non-transitory machine-readable storage medium of claim 8, the operations further comprising:
sending a flow message by a flow coordinator on a common flow control channel where the flow message indicates a change in flow rate for the at least one data stream, in response to determining a variance in the flow rate of the at least one data stream.

### Claim 12 (depends on 8)

The non-transitory machine-readable storage medium of claim 8, the operations further comprising:
storing flow messages from flow coordinators in a stream history by a stream flow controller.

### Claim 13 (depends on 12)

The non-transitory machine-readable storage medium of claim 12, the operations further comprising:
determining by a stream flow adjustment computation unit of a stream flow controller whether to adjust a flow rate of the at least one data stream based on the stream history of related data streams.

### Claim 14 (depends on 8)

The non-transitory machine-readable storage medium of claim 8, the operations further comprising:
sending by a stream flow controller a flow control message to a flow controller to adjust a flow rate of the at least one data stream.

### Claim 15

A computing device in a multi-tenant environment, the computing device comprising:
a non-transitory machine-readable medium having stored therein a stream processor and a flow control mechanism; and
a processor coupled to the non-transitory machine-readable medium, the processor to execute the stream processor and the flow control mechanism, the flow control mechanism to track by a flow control mechanism a recent flow rate of at least one data stream, to determine by the flow control mechanism whether the flow rate of the at least one data stream varies from at least one related data stream, and to adjust by the flow control mechanism a throughput of the at least one data stream to correlate with the at least one related data stream, in response to determining that the at least one data stream has varied from the at least one related data stream.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to compute a current flow rate by a flow rate computation unit of a flow coordinator for the at least one data stream.

### Claim 17 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to compare a current flow rate of the at least one data stream by a flow rate examiner in a flow coordinator with a flow rate history to identify variation in recent flow rate for the at least one data stream.

### Claim 18 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to send a flow message by a flow coordinator on a common flow control channel where the flow message indicates a change in flow rate for the at least one data stream, in response to determining a variance in the flow rate of the at least one data stream.

### Claim 19 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to store flow messages from flow coordinators in a stream history by a stream flow controller.

### Claim 20 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to determine by a stream flow adjustment computation unit of a stream flow controller whether to adjust a flow rate of the at least one data stream based on the stream history of related data streams.

### Claim 21 (depends on 15)

The computing device of claim 15, wherein the flow control mechanism is further to send by the stream flow controller a flow control message to a flow controller to adjust a flow rate of the at least one data stream.
