Method and System to Maintain Strong Consistency of Distributed Replicated Contents in a Client/Server System
First Claim
1. A method of 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, the replicated files being distributed from a master node (110) of a master tier, wherein the method comprises the following steps performed with at least one data processor:
- receiving an update request in at least a master server of the master tier to update a master database of the data processing system;
based on said update generating and storing a new version of a replicated file stored in a shared file system of the master tier;
providing a notification of availability of the new version of the replicated file to all slave nodes;
in each slave node, starting preloading from the shared file system the new version of the replicated file and upon completion of the preloading, acknowledging successful completion of the preloading;
only if all slave nodes acknowledge successful completion of the preloading then performing the following steps;
receiving at the master server a notification of preloading achievement;
from the master server, updating the master database with data of the new version of the replicated file thus committing the use of the new version of the replicated file by the master tier;
committing the use of the new version of the replicated file in a slave database of the application tier arranged for keeping track of all replicated file versions;
forwarding to the master server a notification of commitment of all slave nodes;
from master server, acknowledging achievement of the update in response to the received update request,if not all the slave nodes acknowledge successful completion of the preloading, then receiving at the master node a notification of error.
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.
72 Citations
22 Claims
-
1. A method of 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, the replicated files being distributed from a master node (110) of a master tier, wherein the method comprises the following steps performed with at least one data processor:
-
receiving an update request in at least a master server of the master tier to update a master database of the data processing system; based on said update generating and storing a new version of a replicated file stored in a shared file system of the master tier; providing a notification of availability of the new version of the replicated file to all slave nodes; in each slave node, starting preloading from the shared file system the new version of the replicated file and upon completion of the preloading, acknowledging successful completion of the preloading; only if all slave nodes acknowledge successful completion of the preloading then performing the following steps; receiving at the master server a notification of preloading achievement; from the master server, updating the master database with data of the new version of the replicated file thus committing the use of the new version of the replicated file by the master tier; committing the use of the new version of the replicated file in a slave database of the application tier arranged for keeping track of all replicated file versions; forwarding to the master server a notification of commitment of all slave nodes; from master server, acknowledging achievement of the update in response to the received update request, if not all the slave nodes acknowledge successful completion of the preloading, then receiving at the master node a notification of error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19)
-
-
15. A method of maintaining consistency of replicated files containing business rules, said replicated files being distributed over a plurality of independent processing slave nodes forming a part of an application tier of a multi-tier client/server data processing system, the replicated files being distributed from a master node of a master tier, wherein the method comprises the following steps performed with at least a data processor:
-
receiving an update request in at least a master server of the master tier to update business rules stored in a master database of the data processing system; based on said update generating and storing a new version of a replicated file stored in a shared file system of the master tier; providing a notification of availability of the new version of the replicated file to all slave nodes; in each slave node, starting preloading from the shared file system the new version of the replicated file and upon completion of the preloading, acknowledging successful completion of the preloading; only if all slave nodes acknowledge successful completion of the preloading then performing the following steps; receiving at the master server a notification of preloading achievement; from the master server, updating the master database with data of the new version of the replicated file thus committing the use of the new version of the replicated file by the master tier; if not all the slave nodes acknowledge successful completion of the preloading, then receiving at the master node a notification of error. - View Dependent Claims (16, 17, 18, 20, 21)
-
-
22. A distributed multi-tier client/server data processing system comprising an application tier and a master tier, the application tier comprising a plurality of independent processing slave nodes and the master tier comprising a master node arranged for distributing replicated files to the slave nodes, a master database and a master server, wherein:
- the master tier comprises a shared file system, the master server being arranged for receiving an update request to update the master database, to generate a new version of a replicated file stored in the shared file system and to store said new version in the shared file system;
in that it comprises a slave database connected to all slave nodes and arranged for keeping track of all replicated file versions; and
in that the system is configured for;providing a notification of availability of the new version of the replicated file to all slave nodes; in each slave node, starting preloading from the shared file system the new version of the replicated file and upon completion of the preloading, acknowledging successful completion of the preloading; only if all slave nodes acknowledge successful completion of the preloading then performing the following steps;
receiving at the master server a notification of preloading achievement;
from the master server, updating the master database with data of the new version of the replicated file thus committing the use of the new version of the replicated file by the master tier;
committing the use of the new version of the replicated file in the slave database;
forwarding to the master server a notification of commitment of all slave nodes;
from master server, acknowledging achievement of the update in response to the received update request,if not all the slave nodes acknowledge successful completion of the preloading, then receiving at the master node a notification of error.
- the master tier comprises a shared file system, the master server being arranged for receiving an update request to update the master database, to generate a new version of a replicated file stored in the shared file system and to store said new version in the shared file system;
Specification