Abstract:
Nowadays, distributed system become very popular in the operational environment of computer field. Heart of every distributed system is distributed file system in which informations are separated throughout the network as files. And the server holds the location of the files in the server database. The files contain different information and can exist at any machine within the network. And all of the clients shared those informations together. When multiple clients share and make concurrent updates to the same file, requirements lead to a need to be consistency. Concurrency control problems can exist if there is no protection of concurrency control scheme. So, the concurrency control plays an important role in every distributed system. In this proposed system, concurrency control will be mainly implemented by using one of the variant of two-phase locking called two phase locking- locks write all method(2PL-LW). Balancing the stock data of a supermarket system is implemented as a case study to show the concurrency control of distributed file system by using two phase locking- locks write all method (2PL-LW).