Sunday, June 17, 2007

WCF service throttling

Nicholas Allen wrote a post detailing the different throttling parameters for a service:

  • MaxConcurrentCalls limits the number of service calls (messages) that the service will have processing at one time. You may get less than this maximum number if the concurrency or instancing behavior of your service does not allow processing multiple messages.
  • MaxConcurrentSessions limits the number of persistent connections (sessionful channels) that the service will accept messages from at one time. Again, you need a minimum level of concurrency in your service for this to become an issue.
  • MaxConcurrentInstances limits the number of copies of the service (instance contexts) that can exist. This is only interesting if your service is permitted to have multiple instances.

1 comment:

Abhishek Krishnan said...

Hi, your blog seems to be really nice!! Are you interested in exchanging links? My blog is at http://changingtechnology.blogspot.com/ and it’s about the latest gadgets and the technology used. Do let me know if you are interested. I too will put up a link to your blog on mine. Thanks.