Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ServiceThrottling default values?

Hi,

According to this link the default values of WCF 4.0 is this :

  • MaxConcurrentSessions: 16 * processorcount
  • MaxConcurrentSessions: MaxConcurrentCalls + MaxConcurrentSessions 100 * processorcount
  • MaxConcurrentSessions: 100 * processorcount

I know, not that clear. When looking in the documentation at MSDN(WCF 4.0) it says this :

  • maxConcurrentCalls : 16
  • maxConcurrentInstances : 26
  • maxConcurrentSessions : 10

If I however look at the WCF 4.5 some of the values is based on CPU like the first example

  • maxConcurrentCalls : 16 times the processor count
  • maxConcurrentInstances : The default is the sum of the default value of MaxConcurrentSessions and the default value of MaxConcurrentCalls
  • maxConcurrentSessions : The default is 100 times the processor count

So witch one is the correct one?

like image 280
Banshee Avatar asked May 16 '12 08:05

Banshee


1 Answers

Before WCF 4.0 the default values were

  • Concurrent Calls: 16
  • Concurrent Sessions: 10
  • Concurrent Instances: Concurrent Calls + Concurrent Sessions (26)

From WCF 4.0 onwards they are

  • Concurrent Calls: 16 * processor count
  • Concurrent Sessions: 100 * processor count
  • Concurrent Instances: Concurrent Calls + Concurrent Sessions
like image 150
Richard Blewett Avatar answered Oct 20 '22 21:10

Richard Blewett