Method and system to maintain strong consistency of distributed replicated contents in a client/server system
First Claim
1. A method of maintaining consistency between copies of a replicated file distributed over a plurality of nodes of a data processing system, the method comprising:
- receiving an update request in a master server, the update request requesting that the replicated file be updated in a master database;
generating and storing a new version of the replicated file in a shared file system based on the update request;
providing a notification of availability of the new version of the replicated file to a plurality of slave nodes;
in response to receiving the notification of availability at each slave node, preloading a copy of the new version of the replicated file from the shared file system into a memory of each slave node, and upon completion of the preloading, acknowledging successful completion of the preloading; and
committing the data processing system to use the new version of the replicated file only if each slave node of the plurality of slave nodes acknowledges successful completion of the preloading to the master server.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for maintaining consistency of replicated files distributed over a plurality of independent processing slave nodes part of an application tier of a multi-tier client/server data processing system are described. The replicated files are distributed from a master node of a master tier. Upon reception of an update request to update a master database a new version of a replicated file is first generated and stored in a shared file system. A notification of availability of the new version is forwarded to a synchronizing slave node and broadcasted to all slave nodes. Each slave node preloads the new version of the replicated file from the shared file system and acknowledges successful completion. Upon reception of all acknowledgments in the synchronization slave node a notification of preloading achievement is forwarded to the master server which updates the master database.
69 Citations
25 Claims
-
1. A method of maintaining consistency between copies of a replicated file distributed over a plurality of nodes of a data processing system, the method comprising:
-
receiving an update request in a master server, the update request requesting that the replicated file be updated in a master database; generating and storing a new version of the replicated file in a shared file system based on the update request; providing a notification of availability of the new version of the replicated file to a plurality of slave nodes; in response to receiving the notification of availability at each slave node, preloading a copy of the new version of the replicated file from the shared file system into a memory of each slave node, and upon completion of the preloading, acknowledging successful completion of the preloading; and committing the data processing system to use the new version of the replicated file only if each slave node of the plurality of slave nodes acknowledges successful completion of the preloading to the master server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product comprising:
-
a non-transitory computer-readable storage medium including program instructions that, when executed by one or more processors, cause the one or more processors to; receive an update request in a master server, the update request requesting that a replicated file be updated in a master database; generate and store a new version of the replicated file in a shared file system based on the update request; provide a notification of availability of the new version of the replicated file to a plurality of slave nodes; in response to receiving the notification of availability at each slave node, preload a copy of the new version of the replicated file from the shared file system into a memory of each slave node, and upon completion of the preloading, acknowledge successful completion of the preloading; and commit the data processing system to use the new version of the replicated file only if all slave nodes of the plurality of slave nodes acknowledge successful completion of the preloading.
-
-
18. A method of maintaining consistency between copies of a replicated file containing business rules, the copies of the replicated file being distributed over a plurality of nodes of a data processing system, the method comprising:
-
receiving an update request in a master server to update business rules stored in a master database; generating and storing a new version of the replicated file in a shared file system based on the update request; providing a notification of availability of the new version of the replicated file to a plurality of slave nodes; in response to receiving the notification of availability at each slave node, preloading a copy of the new version of the replicated file from the shared file system into a memory of each slave node, and upon completion of the preloading, acknowledging successful completion of the preloading; and committing the data processing system to use the new version of the replicated file only if all slave nodes of the plurality of slave nodes acknowledge successful completion of the preloading. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
25. A distributed data processing system comprising:
-
a master tier including a master server and a shared file system; and an application tier including a plurality of slave nodes, each slave node having a memory and being communicatively coupled to the master tier, wherein the master server is configured to provide a notification of availability of a new version of a replicated file in the shared file system to the plurality of slave nodes; each slave node-of the plurality of slave nodes is configured to, in response to receiving the notification of availability, preload a copy of the new version of the replicated file from the shared file system, and upon completion of the preloading, acknowledge successful completion of the preloading; and the master server is further configured to only commit the data processing system to use the new version of the replicated file in response to all slave nodes acknowledging-successful completion of the preloading.
-
Specification