This post is continuation of post Concurrency Mode in WCF. Please visit following link before reading this post.
http://logicsmaze.blogspot.in/2015/06/concurrency-mode-in-wcf.html
Multiple Concurrency Mode in WCF :
With multiple concurrency mode an exclusive lock is not acquired by on the service instance. With multiple concurrency modem multiple threads are are allowed to access the service instance simultaneously and we get better throughput.
Like single concurrency mode, multiple concurrency mode is not influenced by instance context mode and whether the binding supports session or not.
Concurrency mode can be set by using ConcurrencyMode attribute of [ServiceBehaviour]

For detailed description about other concurrency mode please visit following posts.
Single-concurrency-mode-in-wcf
Multiple-concurrency-mode-in-wcf
Reentrant-concurrency-mode-in-wcf
http://logicsmaze.blogspot.in/2015/06/concurrency-mode-in-wcf.html
Multiple Concurrency Mode in WCF :
With multiple concurrency mode an exclusive lock is not acquired by on the service instance. With multiple concurrency modem multiple threads are are allowed to access the service instance simultaneously and we get better throughput.
Like single concurrency mode, multiple concurrency mode is not influenced by instance context mode and whether the binding supports session or not.
Concurrency mode can be set by using ConcurrencyMode attribute of [ServiceBehaviour]

| Instance Context Mode | Concurrency Mode | Is Binding Support Session | Will Concurrency Call Processed |
|---|---|---|---|
| PerCall | Multiple | No | Yes |
| PerCall | Multiple | Yes | Yes |
| PerSession | Multiple | No | Yes |
| PerSession | Multiple | Yes | Yes |
| Single | Multiple | No | Yes |
| Single | Multiple | Yes | Yes |
For detailed description about other concurrency mode please visit following posts.
Single-concurrency-mode-in-wcf
Multiple-concurrency-mode-in-wcf
Reentrant-concurrency-mode-in-wcf
Thanks :-)
Related Post :
Message-exchange-pattern-in-wcf
Different-option-of-hosting-wcf-service
Binding-in-wcf-choosing-right-wcf-service
Hosting WCF with Non-Http protocol
Exchanging-metadata-in-wcf
Some-interesting-facts-about-data-contract
Knowntype-attribute-in-wcf
Associating-knowntype-in-wcf
Message-contract-in-wcf
Exception-handling-in-wcf
()- Exception Handling in WCF - SOAP Fault in WCF
()- Exception Handling in WCF - Unhandled Exception in WCF
()- Exception Handling in WCF - Creating and Throwing Strongly Typed SOAP FaultInstance-context-mode-in-wcf
()- PerCall-instance-context-mode-in-wcf
Message-exchange-pattern-in-wcf
Different-option-of-hosting-wcf-service
Binding-in-wcf-choosing-right-wcf-service
Hosting WCF with Non-Http protocol
Exchanging-metadata-in-wcf
Some-interesting-facts-about-data-contract
Knowntype-attribute-in-wcf
Associating-knowntype-in-wcf
Message-contract-in-wcf
Exception-handling-in-wcf
()- Exception Handling in WCF - SOAP Fault in WCF
()- Exception Handling in WCF - Unhandled Exception in WCF
()- Exception Handling in WCF - Creating and Throwing Strongly Typed SOAP FaultInstance-context-mode-in-wcf
()- PerCall-instance-context-mode-in-wcf
No comments:
Post a Comment