Patent ID: 7849055
Filing Date: 2010-12-07
Classification: G06F

Abstract:
1. A computer implemented method for limiting instances of a client-server program within a plurality of platforms in a restricted distributed network comprising: receiving an invocation of the client-server program; assigning a write file to the client-server program wherein the write file has a write file name and the write file is on a distributed file system accessible to the plurality of platforms; determining whether the write file is available; responsive to a determination that the write file is available, opening the write file for writing wherein the write file is associated with the client-server program; responsive to a determination that the write file is available, forming an addressing file having addressing information of a first instance of the client-server program, wherein forming the addressing file comprises assigning a program instruction pointer associated with the first instance of the client-server program; responsive to a determination that the write file is available, reporting the addressing file by writing addressing information to the addressing file, wherein the addressing file is established at a predetermined logical location in the distributed file system; responsive to the determination that the write file is available, executing at least one instruction of the client-server program; receiving a request from a second instance of the client-server program; incrementing an instance count based on the instance count and a business logic, wherein an instance count is a number of instances of a program that counts instances that have been invoked but not yet completed; approving the request based on the instance count and the business logic; determining whether the second instance is allocated to a processor faster than a processor executing the first instance of the client-server program; rewriting the addressing file to point to the second instance of the client-server program, whereby the second instance operates as the first instance of the client-server program; and terminating the first instance of the client-server program based on an instance count comparison to a pre-established upper limit.