# US 2016/0261727 A1 · Systems and methods of streaming data

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

- Number: US 2016/0261727 A1
- Document ID: US20160261727A1
- Status: Published application
- Kind: A1
- Application number: 14/920,562
- Filed: 2015-10-22
- Published: 2016-09-08
- Earliest claimed: 2015-03-06
- Assignees: eBay Inc.
- Inventors: Connie W. Yang; Viswa Vutharkar; Ankur Bansal; Christopher J. Kasten; Michael Chiocca; Dharani Ramanathan; Subash Ramanathan; Padma Nayak; Rajeshwari Muthupandian
- Web page: https://patentgrep.com/patent/US20160261727A1

## CPC

- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3089: {Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents (software debugging using additional hardware using a specific debug interface G06F11/3656; performance evaluation by tracing or monitoring G06F11/3466)}
- H04L 65/612: for unicast
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/3065: {Monitoring arrangements determined by the means or processing involved in reporting the monitored data (error or fault reporting or logging G06F11/0766)}
- G06F 2201/80: Database-specific techniques
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods of stream technologies are disclosed. In some example embodiments, a method and system for a database stream switchover from one data center to another with notification at each component is provided.

## Claims

### Claim 1

A system comprising:
at least one processor; and
a non-transitory computer-readable medium storing executable instructions that, when executed, cause the at least one processor to perform operations comprising:
detecting a switchover event or a failover event for a first database host of a first data center, the first database host storing a first table of data;
in response to detecting the switchover event or the failover event, performing an orchestrated stop of a data extraction process, the orchestrated stop comprising:
stopping a first extraction of a data stream from the first table of data in the first database host at a specific location within the data stream, the data stream comprising change data of the first table, the change data comprising data in the first table that has changed;
subsequent to stopping the first extraction of the data stream from the first table of data, stopping a first last change record (LCR) mirroring of the change data at the specific location within the data stream, the first LCR mirroring comprising a copying of last change data of the first table from a first LCR cluster of machines in the first data center to a second LCR cluster of machines in a second data center, the second data center having a second database host storing a second table of data;
subsequent to stopping the first LCR mirroring, stopping a first merging of last change data in the first LCR cluster of machines with a record from the first table that corresponds to the data in the first table that has changed, the first merging forming a reconstructed record; and
subsequent to stopping the first merging, stopping a first FCR mirroring of the reconstructed record at the specific location within the data stream, the first FCR mirroring comprising a copying of the reconstructed record from a first FCR cluster of machines in the first data center to a second FCR cluster of machines in the second data center; and
determining an offset value indicating the specific location within the data stream; and
performing an orchestrated start of the extraction process in the second data center using the offset value, the orchestrated start comprising:
starting a second extraction of the data stream from the first table of data in the second database host at the specific location within the data stream using the offset value;
subsequent to starting the second extraction of the data stream from the first table of data in the second database host, starting a second LCR mirroring of the change data at the specific location within the data stream, the second LCR mirroring comprising a copying of last change data of the first table from the second LCR cluster of machines in the second data center to another LCR cluster of machines in another data center;
subsequent to starting the second LCR mirroring, starting a second merging of last change data in the second LCR cluster of machines with the reconstructed record stored in a second FCR cluster of machines in the second data center; and
subsequent to starting the second merging, starting a second FCR mirroring of the harvested last change data at the specific location within the data stream, the second FCR mirroring comprising a copying of the harvested last change data from the second FCR cluster of machines in the second data center to another FCR cluster of machines in the other data center.

### Claim 2 (depends on 1)

The system of claim 1, wherein the other data center is the first data center, the other LCR cluster of machines is the first LCR cluster of machines, and the other FCR cluster of machines is the first FCR cluster of machines.

### Claim 3 (depends on 1)

The system of claim 1, wherein the other data center is a third data center, the other LCR cluster of machines is a third LCR cluster of machines, and the other FCR cluster of machines is a third FCR cluster of machines.

### Claim 4 (depends on 1)

The system of claim 1, wherein the operations further comprise:
extracting the data stream of change data from the first table of data in the first database host;
transforming a format of the change data into a data serialization format based on a schema identification; and
storing the transformed change data in the first LCR cluster of machines.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations further comprise:
performing the first LCR mirroring of the change data from the first LCR cluster of machines in the first data center to the second LCR cluster of machines in the second data center;
performing additional LCR mirroring of the change data from the first LCR cluster of machines in the first data center to one or more additional LCR clusters of machines in one or more additional data centers;
performing the first FCR mirroring of the change data from the first FCR cluster of machines in the first data center to the second FCR cluster of machines in the second data center;
performing additional FCR mirroring of the change data from the first FCR cluster of machines in the first data center to one or more additional FCR clusters of machines in the one or more additional data centers.

### Claim 6 (depends on 1)

The system of claim 1, wherein the first merging and the second merging are performed automatically based on a configuration.

### Claim 7 (depends on 1)

The system of claim 1, wherein the operations further comprise:
receiving, from an application external to the first data center and the second data center, a request for data; and
transmitting the last change data from the second LCR cluster of machines in the second data center to the application.

### Claim 8

A computer-implemented method comprising:
detecting a switchover event or a failover event for a first database host of a first data center, the first database host storing a first table of data;
in response to detecting the switchover event or the failover event, performing an orchestrated stop of a data extraction process, the orchestrated stop comprising:
stopping a first extraction of a data stream from the first table of data in the first database host at a specific location within the data stream, the data stream comprising change data of the first table, the change data comprising data in the first table that has changed;
subsequent to stopping the first extraction of the data stream from the first table of data, stopping a first last change record (LCR) mirroring of the change data at the specific location within the data stream, the first LCR mirroring comprising a copying of last change data of the first table from a first LCR cluster of machines in the first data center to a second LCR cluster of machines in a second data center, the second data center having a second database host storing a second table of data;
subsequent to stopping the first LCR mirroring, stopping a first merging of last change data in the first LCR cluster of machines with a record from the first table that corresponds to the data in the first table that has changed, the first merging forming a reconstructed record; and
subsequent to stopping the first merging, stopping a first FCR mirroring of the harvested last change data at the specific location within the data stream, the first FCR mirroring comprising a copying of the harvested last change data from a first FCR cluster of machines in the first data center to a second FCR cluster of machines in the second data center; and
determining an offset value indicating the specific location within the data stream; and
performing an orchestrated start of the extraction process in the second data center using the offset value, the orchestrated start comprising:
starting a second extraction of the data stream from the first table of data in the second database host at the specific location within the data stream using the offset value;
subsequent to starting the second extraction of the data stream from the first table of data in the second database host, starting a second LCR mirroring of the change data at the specific location within the data stream, the second LCR mirroring comprising a copying of last change data of the first table from the second LCR cluster of machines in the second data center to another LCR cluster of machines in another data center;
subsequent to starting the second LCR mirroring, starting a second merging of last change data in the second LCR cluster of machines with the reconstructed record stored in a second FCR cluster of machines in the second data center; and
subsequent to starting the second merging, starting a second FCR mirroring of the harvested last change data at the specific location within the data stream, the second FCR mirroring comprising a copying of the harvested last change data from the second FCR cluster of machines in the second data center to another FCR cluster of machines in the other data center.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the other data center is the first data center, the other LCR cluster of machines is the first LCR cluster of machines, and the other FCR cluster of machines is the first FCR cluster of machines.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein the other data center is a third data center, the other LCR cluster of machines is a third LCR cluster of machines, and the other FCR cluster of machines is a third FCR cluster of machines.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, further comprising:
extracting the data stream of change data from the first table of data in the first database host;
transforming a format of the change data into a data serialization format based on a schema identification; and
storing the transformed change data in the first LCR cluster of machines.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8, further comprising:
performing the first LCR mirroring of the change data from the first LCR cluster of machines in the first data center to the second LCR cluster of machines in the second data center;
performing additional LCR mirroring of the change data from the first LCR cluster of machines in the first data center to one or more additional LCR clusters of machines in one or more additional data centers;
performing the first FCR mirroring of the change data from the first FCR cluster of machines in the first data center to the second FCR cluster of machines in the second data center;
performing additional FCR mirroring of the change data from the first FCR cluster of machines in the first data center to one or more additional FCR clusters of machines in the one or more additional data centers.

### Claim 13 (depends on 8)

The computer-implemented method of claim 8, wherein the first merging and the second merging are performed automatically based on a configuration.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, further comprising:
receiving, from an application external to the first data center and the second data center, a request for data; and
transmitting the last change data from the second LCR cluster of machines in the second data center to the application.

### Claim 15

A non-transitory machine-readable storage device storing a set of instructions that, when executed by at least one processor, causes the at least one processor to perform performing operations comprising:
detecting a switchover event or a failover event for a first database host of a first data center, the first database host storing a first table of data;
in response to detecting the switchover event or the failover event, performing an orchestrated stop of a data extraction process, the orchestrated stop comprising:
stopping a first extraction of a data stream from the first table of data in the first database host at a specific location within the data stream, the data stream comprising change data of the first table, the change data comprising data in the first table that has changed;
subsequent to stopping the first extraction of the data stream from the first table of data, stopping a first last change record (LCR) mirroring of the change data at the specific location within the data stream, the first LCR mirroring comprising a copying of last change data of the first table from a first LCR cluster of machines in the first data center to a second LCR cluster of machines in a second data center, the second data center having a second database host storing a second table of data;
subsequent to stopping the first LCR mirroring, stopping a first merging of last change data in the first LCR cluster of machines with a record from the first table that corresponds to the data in the first table that has changed, the first merging forming a reconstructed record; and
subsequent to stopping the first merging, stopping a first FCR mirroring of the harvested last change data at the specific location within the data stream, the first FCR mirroring comprising a copying of the harvested last change data from a first FCR cluster of machines in the first data center to a second FCR cluster of machines in the second data center; and
determining an offset value indicating the specific location within the data stream; and
performing an orchestrated start of the extraction process in the second data center using the offset value, the orchestrated start comprising:
starting a second extraction of the data stream from the first table of data in the second database host at the specific location within the data stream using the offset value;
subsequent to starting the second extraction of the data stream from the first table of data in the second database host, starting a second LCR mirroring of the change data at the specific location within the data stream, the second LCR mirroring comprising a copying of last change data of the first table from the second LCR cluster of machines in the second data center to another LCR cluster of machines in another data center;
subsequent to starting the second LCR mirroring, starting a second merging of last change data in the second LCR cluster of machines with the reconstructed record stored in a second FCR cluster of machines in the second data center; and
subsequent to starting the second merging, starting a second FCR mirroring of the harvested last change data at the specific location within the data stream, the second FCR mirroring comprising a copying of the harvested last change data from the second FCR cluster of machines in the second data center to another FCR cluster of machines in the other data center.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage device of claim 15, wherein the other data center is the first data center, the other LCR cluster of machines is the first LCR cluster of machines, and the other FCR cluster of machines is the first FCR cluster of machines.

### Claim 17 (depends on 15)

The non-transitory machine-readable storage device of claim 15, wherein the operations further comprise:
extracting the data stream of change data from the first table of data in the first database host;
transforming a format of the change data into a data serialization format based on a schema identification; and
storing the transformed change data in the first LCR cluster of machines.

### Claim 18 (depends on 15)

The non-transitory machine-readable storage device of claim 15, wherein the operations further comprise:
performing the first LCR mirroring of the change data from the first LCR cluster of machines in the first data center to the second LCR cluster of machines in the second data center;
performing additional LCR mirroring of the change data from the first LCR cluster of machines in the first data center to one or more additional LCR clusters of machines in one or more additional data centers;
performing the first FCR mirroring of the change data from the first FCR cluster of machines in the first data center to the second FCR cluster of machines in the second data center;
performing additional FCR mirroring of the change data from the first FCR cluster of machines in the first data center to one or more additional FCR clusters of machines in the one or more additional data centers.

### Claim 19 (depends on 15)

The non-transitory machine-readable storage device of claim 15, wherein the first merging and the second merging are performed automatically based on a configuration.

### Claim 20 (depends on 15)

The non-transitory machine-readable storage device of claim 15, wherein the operations further comprise:
receiving, from an application external to the first data center and the second data center, a request for data; and
transmitting the last change data from the second LCR cluster of machines in the second data center to the application.
