Distributed Garbage Collection (DGC) controls when server applications can be deleted. Traditionally DGC uses reference counts and pinging for control. This works well when there are a few clients per service, but doesn't scale well when there are thousands of clients per service. A Leasing Distributed Garbage Collector (LDGC) associates a lease time with each service. The service is deleted when the lease's time expires. The LDGC can subsume the function of a traditional DGC, in addition it scales well when the numbers of clients increase per server.
ILease
[Visual Basic] Public Interface ILease [C#] public interface ILease [C++] public __gc __interface ILease
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
Lease |
[To be supplied.]
Namespace: System.Runtime.Remoting
Assembly: mscorlib.dll