Synchronizing an active feed adapter and a backup feed adapter in a high speed, low latency data communications environment
First Claim
1. A method of synchronizing an active feed adapter and a backup feed adapter, the method comprising:
- brokering, by a stream administration server, establishment of an active message stream to a subscribing client device from an active feed adapter;
brokering, by the stream administration server, establishment of a backup message stream to the subscribing client device from a backup feed adapter;
converting, by the active feed adapter, messages received from a feed source to generate the active message stream;
converting, by the backup feed adapter, messages received from the feed source to generate the backup message stream;
while the active feed adapter transmits the active message stream to the subscribing client device and the backup feed adapter transmits the backup message stream to the subscribing client device, the active feed adapter sending state data of the active feed adapter to the backup feed adapter, wherein the state data of the active feed adapter comprises an active message stream state characterized by an active message sequence number and an active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device;
determining, by the backup feed adapter, whether the backup message stream is synchronized with the active message stream based, at least in part, on whether the state data of the active feed adapter corresponds to state data for the backup feed adapter, wherein the state data of the backup feed adapter comprises a backup message stream state characterized by a backup message sequence number and a backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device,wherein said determining, by the backup feed adapter, whether the backup message stream is synchronized with the active message stream based, at least in part, on whether the state data of the active feed adapter corresponds to state data for the backup feed adapter comprises determining, by the backup feed adapter, whether a combination of the active message sequence number and the active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device corresponds to the backup message sequence number and the backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device; and
administering, by the backup feed adapter, operation of the backup feed adapter in dependence upon whether the backup message stream is synchronized with the active message stream.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatus, and products are disclosed for synchronizing an active feed adapter and a backup feed adapter in a high speed, low latency data communications environment that include brokering, by a stream administration server, establishment of an active message stream to a subscribing client device from an active feed adapter, the active message stream capable of communicating active application messages; brokering, by the server, establishment of a backup message stream to the client device from a backup feed adapter, the backup message stream capable of communicating backup application messages; receiving an active feed adapter state in backup messaging middleware of the backup adapter from active messaging middleware of the active adapter; determining, by the backup feed adapter, whether a backup feed adapter state is synchronized with the active feed adapter state; and administering, by the backup feed adapter, operation of the backup adapter in dependence upon the determining.
107 Citations
15 Claims
-
1. A method of synchronizing an active feed adapter and a backup feed adapter, the method comprising:
-
brokering, by a stream administration server, establishment of an active message stream to a subscribing client device from an active feed adapter; brokering, by the stream administration server, establishment of a backup message stream to the subscribing client device from a backup feed adapter; converting, by the active feed adapter, messages received from a feed source to generate the active message stream; converting, by the backup feed adapter, messages received from the feed source to generate the backup message stream; while the active feed adapter transmits the active message stream to the subscribing client device and the backup feed adapter transmits the backup message stream to the subscribing client device, the active feed adapter sending state data of the active feed adapter to the backup feed adapter, wherein the state data of the active feed adapter comprises an active message stream state characterized by an active message sequence number and an active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device; determining, by the backup feed adapter, whether the backup message stream is synchronized with the active message stream based, at least in part, on whether the state data of the active feed adapter corresponds to state data for the backup feed adapter, wherein the state data of the backup feed adapter comprises a backup message stream state characterized by a backup message sequence number and a backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device, wherein said determining, by the backup feed adapter, whether the backup message stream is synchronized with the active message stream based, at least in part, on whether the state data of the active feed adapter corresponds to state data for the backup feed adapter comprises determining, by the backup feed adapter, whether a combination of the active message sequence number and the active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device corresponds to the backup message sequence number and the backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device; and administering, by the backup feed adapter, operation of the backup feed adapter in dependence upon whether the backup message stream is synchronized with the active message stream. - View Dependent Claims (2, 3, 4, 5)
-
-
6. Apparatus for synchronizing an active feed adapter and a backup feed adapter, the apparatus comprising one or more computer processors, one or more computer memories operatively coupled to the one or more computer processors, the one or more computer memories having disposed within them computer program instructions executable by the one or more computer processors to cause the apparatus to:
-
broker establishment of an active message stream to a subscribing client device from an active feed adapter; broker establishment of a backup message stream to the subscribing client device from a backup feed adapter; while the active feed adapter transmits the active message stream to the subscribing client device and the backup feed adapter transmits the backup message stream to the subscribing client device, cause the active feed adapter to send an active feed adapter state to the backup feed adapter, and the backup feed adapter to determine whether the backup message stream is synchronized with the active message stream based, at least in part, on the active feed adapter state and a backup feed adapter state, wherein the state data of the active feed adapter comprises an active message stream state characterized by an active message sequence number and an active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device, wherein the state data of the backup feed adapter comprises a backup message stream state characterized by a backup message sequence number and a backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device, wherein the computer program instructions executable to cause the apparatus to cause the backup feed adapter to determine whether the backup message stream is synchronized with the active message stream based, at least in part, on the state data of the active feed adapter and the state data for the backup feed adapter comprises the computer program instructions executable to cause the apparatus to cause the backup feed adapter to determine whether a combination of the active message sequence number and the active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device corresponds to the backup message sequence number and the backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device; and administer operation of the backup feed adapter in dependence upon whether the backup message stream is synchronized with the active message stream. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product for synchronizing an active feed adapter and a backup feed adapter, the computer program product disposed upon a non-transitory machine-readable, recordable medium, the computer program product comprising computer program instructions to:
-
broker establishment of an active message stream to a subscribing client device from an active feed adapter; broker establishment of a backup message stream to the subscribing client device from a backup feed adapter; while the active feed adapter transmits the active message stream to the subscribing client device and the backup feed adapter transmits the backup message stream to the subscribing client device, cause the active feed adapter to send an active feed adapter state to the backup feed adapter, and the backup feed adapter to determine whether the backup message stream is synchronized with the active message stream based, at least in part, on the active feed adapter state and a backup feed adapter state, wherein the state data of the active feed adapter comprises an active message stream state characterized by an active message sequence number and an active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device, wherein the state data of the backup feed adapter comprises a backup message stream state characterized by a backup message sequence number and a backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device, wherein the computer program instructions to cause the backup feed adapter to determine whether the backup message stream is synchronized with the active message stream based, at least in part, on the state data of the active feed adapter and the state data for the backup feed adapter comprises computer program instructions to cause the backup feed adapter to determine whether a combination of the active message sequence number and the active source stream sequence number of the next message in the active message stream for transmission to the subscribing client device corresponds to the backup message sequence number and the backup source stream sequence number of the next message in the backup message stream for transmission to the subscribing client device; and administer operation of the backup feed adapter in dependence upon whether the backup message stream is synchronized with the active message stream. - View Dependent Claims (12, 13, 14, 15)
-
Specification