Claims
- 1. A method for replicating data in a distributed data processing system, the method comprising:associating a set of originating nodes with a first level central hub; associating a set of first level central hubs with a second level central hub; replicating a database at each originating node in the set of originating nodes; receiving an update for replication from a given first level central hub at the second level central hub; sending updates associated with the received update from the second level central hub to first level central hubs within the set of first level central hubs; and tracking acknowledgments sent by first level central hubs to the second level central hub.
- 2. The method of claim 1 wherein a received update is associated with an origination sequence number.
- 3. The method of claim 1 wherein an update sent from the second level central hub to first level central hubs is associated with a distribution sequence number.
- 4. The method of claim 1 wherein an acknowledgment identifies a last in-sequence distribution sequence number processed by a respective first level central hub.
- 5. The method of claim 1 further comprising:periodically sending a message to each first level central hub, wherein the message includes information identifying a highest origination sequence number acknowledged by the set of first level central hubs.
- 6. The method of claim 5 wherein the message further includes the highest origination sequence number associated with an update received at the second level central hub from a first level central hub.
- 7. An apparatus for replicating data in a distributed data processing system, the apparatus comprising:means for associating a set of originating nodes with a first level central hub; means for associating a set of first level central hubs with a second level central hub; means for replicating a database at each originating node in the set of originating nodes; means for receiving an update for replication from a given first level central hub at the second level central hub; means for sending updates associated with the received update from the second level central hub to first level central hubs within the set of first level central hubs; and means for tracking acknowledgments sent by first level central hubs to the second level central hub.
- 8. The apparatus of claim 7 wherein a received update is associated with an origination sequence number.
- 9. The apparatus of claim 7 wherein an update sent from the second level central hub to first level central hubs is associated with a distribution sequence number.
- 10. The apparatus of claim 7 wherein an acknowledgment identifies a last in-sequence distribution sequence number processed by a respective first level central hub.
- 11. The apparatus of claim 7 further comprising:means for periodically sending a message to each first level central hub, wherein the message includes information identifying a highest origination sequence number acknowledged by the set of first level central hubs.
- 12. The apparatus of claim 11 wherein the message further includes the highest origination sequence number associated with an update received at the second level central hub from a first level central hub.
- 13. A computer program product on a computer readable medium for use in a data processing system for replicating data, the computer program product comprising:instructions for associating a set of originating nodes with a first level central hub; instructions for associating a set of first level central hubs with a second level central hub; instructions for replicating a database at each originating node in the set of originating nodes; instructions for receiving an update for replication from a given first level central hub at the second level central hub; instructions for sending updates associated with the received update from the second level central hub to first level central hubs within the set of first level central hubs; and instructions for tracking acknowledgments sent by first level central hubs to the second level central hub.
- 14. The computer program product of claim 13 wherein a received update is associated with an origination sequence number.
- 15. The computer program product of claim 13 wherein an update sent from the second level central hub to first level central hubs is associated with a distribution sequence number.
- 16. The computer program product of claim 13 wherein an acknowledgment identifies a last in-sequence distribution sequence number processed by a respective first level central hub.
- 17. The computer program product of claim 13 further comprising:instructions for periodically sending a message to each first level central hub, wherein the message includes information identifying a highest origination sequence number acknowledged by the set of first level central hubs.
- 18. The computer program product of claim 17 wherein the message further includes the highest origination sequence number associated with an update received at the second level central hub from a first level central hub.
CROSS-REFERENCE TO RELATED APPLICATION
This is a divisional application of U.S. patent application Ser. No. 09/160,023, filed Sep. 24, 1998, now U.S. Pat. No. 6,338,092.
US Referenced Citations (17)