Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
Question. What are leasetime, sponsorshiptime, renewoncalltime and leasemanagerpolltime

How does garbage collector work on a remoting environment, because objects are created on a remote system which is outside the memory of the client system? Or how will the server detect that an object is no longer used by a client system. In order to manage garbage collection in a remoting environment .net uses mechanisms like LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime. This is also known as Leasing Distributed Garbage Collector (LDGC)

LeaseTime – LeaseTime property is set to define the time an object will be alive on a server. The default value will be 5 minutes, which means a remoting object created on the server will be alive for five minutes. We can increase or decrease this value based on requirement.

RenewonCallTime – This property define the time an object will be alive after a call made to the server. The default value will be two minutes

SponsorshipTime – When the life time of an object becomes zero, it waits for a sponsor to become available. This is known as SponsorshipTime and the default value will be two minutes.

LeaseManagerPollTime – The time a sponsor has to return a lease time extension is known as LeaseManagerPollTime




Previous question Next question
 Rate this answer
     
 45 votes , average 2 out of 5

Back to .net remoting and webservices interview questions
This question has been viewed 3385 times   

Other questions on .net remoting and webservices interview questions




More .Net Remoting and Webservices interview questions
.Net Remoting and Webservices interview questions

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia