Reputation: 29806
I was reading Wenlong Dong's blog article about the default throttling settings for WCF services in WCF 4, and have a question about the values for the default settings:
MaxConcurrentSessions: default is 100 * ProcessorCount
MaxConcurrentCalls: default is 16 * ProcessorCount
MaxConcurrentInstances: default is the total of the above two, which follows the same pattern as before.
Does ProcessorCount refer to:
Thanks,
-- Patrick
Upvotes: 1
Views: 2211
Reputation: 1438
Processor count means logical cores. The value is actually the value supplied by System.Environment.ProcessorCount
Upvotes: 4
Reputation: 2284
Here are some stuff from MSDN that might be helpful. Optimizing WCF Web Service Performance: http://msdn.microsoft.com/en-us/library/ee377061(v=bts.10).aspx
ServiceThrottlingBehavior Members: http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentsessions(v=vs.100).aspx
Cheers
Upvotes: 1