Patent ID: 6745387
Filing Date: 2004-06-01
Classification: G06F

Abstract:
A method for performing internal state clean up in a container-based distributed computer-system after a distributed transaction has completed, the distributed transaction being distributed between a plurality of computing nodes of the computer system that each process a portion of the distributed transaction, container-based distributed computer system including a plurality of containers each being capable of running two or more components therein and each of the plurality of containers having their own internal memory, the method comprising the steps of:providing a transaction manager for each of the plurality of computing nodes; providing a synchronization object for each of the transaction managers; registering, by each of the plurality of computing nodes that is involved in a distributed transaction, a synchronization object with its associated transaction manager, for the distributed transaction, wherein the distributed transaction is distributed for processing between a first and a second container respectively associated with a first and a second transaction manager that respectively manage the transactions associated with the first and the second container; detecting by each of the associated transaction managers, a completion of the distributed transaction, wherein the detection is achieved by inter-communication between the associated transaction managers; invoking, by each of the associated transaction managers, an operation (method) on each of the synchronization objects registered by each of the plurality of computing nodes on behalf of the first and second containers, for the completed distributed transaction when the completion of the distributed transaction is detected by each of the associated transaction mangers; and performing internal state clean up, by each of the plurality of computing nodes that is involved in a distributed transaction, in response to the invoked operation, wherein the internal state clean up operates to clean-up memory that is used to perform the distributed transaction associated with the first and second container of the computing system.