WCF throttling

Posted By : Bipul Kumar Tiwari,

WCF throttling gives us the possibility to specify and configure how many instances or sessions are created at the application level . Using ServiceThrottling behavior, you can fine-tune the performance of your Windows Communication Foundation (WCF) application. The major properties that can be set are:


Attribute Description
maxConcurrentCalls Limits the total number of calls that can currently be in progress across all service instances. The default is 16.
maxConcurrentInstances. The number of InstanceContext objects that execute at one time across a ServiceHost. The default is Int32.MaxValue.
maxConcurrentSessions A positive integer that limits the number of sessions a ServiceHost object can accept. The default is 10.


In configuration file Using <serviceThrottling> tag of the Service Behavior, you can configure the throtting attribute .



Related Articles

 

About the Author

author
Its me BIPUL who is logically minded creative at heart , a good communicator , a self taught full stack developer. I constantly focuses on my thinking , reading , collecting and creating my work in a order to enhance my skills.

I discover new dimensions for growing bussiness with a proven record in creating database and programming. I have a strong technical skills as well as strong interpersonal skills. Read more...
 

Browse By Category

Popular Articles