Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>WCF services can cope with a huge number of calls but, to avoid denial of service attacks, the number of requests that can be processed is limited by default.</p> <p>The significant limitations for Silverlight WCF services would be </p> <ul> <li>A default limit of 2 simultaneous calls from the same IP address.</li> <li>A limit of approx 10-16 concurrent connections (documentation varies on this one).</li> </ul> <p>This CodeProject article on <a href="http://www.codeproject.com/Articles/133738/Quick-Ways-to-Boost-Performance-and-Scalability-of" rel="nofollow noreferrer">Quick Ways to Boost Performance and Scalability of ASP.NET, WCF and Desktop Clients</a> was useful.</p> <p>I am guessing you are immediately hitting the first issue. In your WCF config you need to add the following to increase the single IP connections:</p> <pre><code>&lt;system.net&gt; &lt;connectionManagement&gt; &lt;add address="*" maxconnection="100" /&gt; &lt;/connectionManagement&gt; &lt;/system.net&gt; </code></pre> <p>You may then hit the second limit for which the solution is tweak the service behaviors in the web/app.config files.</p> <p>Here are a few more references I found while sorting out these issues myself:</p> <ul> <li><a href="http://weblogs.asp.net/paolopia/archive/2008/03/23/wcf-configuration-default-limits-concurrency-and-scalability.aspx" rel="nofollow noreferrer">http://weblogs.asp.net/paolopia/archive/2008/03/23/wcf-configuration-default-limits-concurrency-and-scalability.aspx</a></li> <li><a href="https://stackoverflow.com/questions/686466/why-does-wcf-limit-concurrent-connections-to-5">Why does WCF limit concurrent connections to 5?</a></li> <li><a href="http://msdn.microsoft.com/en-us/magazine/cc163590.aspx#S10" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/magazine/cc163590.aspx#S10</a></li> <li><a href="http://blogs.msdn.com/b/stcheng/archive/2009/01/06/wcf-things-that-will-impact-concurrency-capacity-behavior-of-wcf-service-with-simoultaneous-client-requests-connections.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/b/stcheng/archive/2009/01/06/wcf-things-that-will-impact-concurrency-capacity-behavior-of-wcf-service-with-simoultaneous-client-requests-connections.aspx</a></li> <li><a href="http://www.codeproject.com/Articles/133738/Quick-Ways-to-Boost-Performance-and-Scalability-of" rel="nofollow noreferrer">http://www.codeproject.com/Articles/133738/Quick-Ways-to-Boost-Performance-and-Scalability-of</a></li> <li><a href="http://www.danrigsby.com/blog/index.php/2008/02/20/how-to-throttle-a-wcf-service-help-prevent-dos-attacks-and-maintain-wcf-scalability/" rel="nofollow noreferrer">http://www.danrigsby.com/blog/index.php/2008/02/20/how-to-throttle-a-wcf-service-help-prevent-dos-attacks-and-maintain-wcf-scalability/</a> </li> <li><a href="http://msdn.microsoft.com/en-us/library/7w2sway1%28v=vs.71%29.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/7w2sway1%28v=vs.71%29.aspx</a></li> <li><a href="http://www.codeproject.com/Articles/89858/WCF-Concurrency-Single-Multiple-and-Reentrant-and" rel="nofollow noreferrer">http://www.codeproject.com/Articles/89858/WCF-Concurrency-Single-Multiple-and-Reentrant-and</a></li> <li><a href="https://stackoverflow.com/questions/739312/c-sharp-wcf-wcf-stops-responding-after-about-10-or-so-calls-throttling">WCF stops responding after about 10 or so calls (throttling)</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload