<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Throttling in WCF</title>
	<link>http://kennyw.com/indigo/150</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<pubDate>Thu, 08 Jan 2009 12:17:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Victor</title>
		<link>http://kennyw.com/indigo/150#comment-118264</link>
		<author>Victor</author>
		<pubDate>Wed, 16 Jul 2008 19:28:36 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-118264</guid>
		<description>Hi,
We are developping a service based application with WCF and experiencing the "MaxConcurrentSessions" issue 
The problem is that in our case calls are asynchronous and the code is generated by the WCF Proxy Generator, any idea about how to safely close the proxy?
Thanks

Victor</description>
		<content:encoded><![CDATA[<p>Hi,<br />
We are developping a service based application with WCF and experiencing the &#8220;MaxConcurrentSessions&#8221; issue<br />
The problem is that in our case calls are asynchronous and the code is generated by the WCF Proxy Generator, any idea about how to safely close the proxy?<br />
Thanks</p>
<p>Victor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Streaming large content with WCF and deferred execution - Pablo M. Cibraro (aka Cibrax)</title>
		<link>http://kennyw.com/indigo/150#comment-110018</link>
		<author>Streaming large content with WCF and deferred execution - Pablo M. Cibraro (aka Cibrax)</author>
		<pubDate>Tue, 10 Jun 2008 17:41:35 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-110018</guid>
		<description>[...] In addition, if the service throttling settings are not configured carefully for that service, a large number of requests will practically consume all the available resources (If that happens, the server will stop processing additional requests and you may run into a OutOfMemory exception as well). For more information about Service Throttling, I recommend this Kenny Wolf's post. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] In addition, if the service throttling settings are not configured carefully for that service, a large number of requests will practically consume all the available resources (If that happens, the server will stop processing additional requests and you may run into a OutOfMemory exception as well). For more information about Service Throttling, I recommend this Kenny Wolf&#8217;s post. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/indigo/150#comment-101281</link>
		<author>Kenny</author>
		<pubDate>Sat, 03 May 2008 18:30:48 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-101281</guid>
		<description>Alex, we don't have a built-in feature to WCF like what you are asking for. You could start a timer within your service method though.

Scott, the reason you are hitting MaxConcurrentSessions is because each TCP channel is a session, and the MaxConcurrentSessions throttle applies to the channels being accepted. It's independent of InstanceContextMode.</description>
		<content:encoded><![CDATA[<p>Alex, we don&#8217;t have a built-in feature to WCF like what you are asking for. You could start a timer within your service method though.</p>
<p>Scott, the reason you are hitting MaxConcurrentSessions is because each TCP channel is a session, and the MaxConcurrentSessions throttle applies to the channels being accepted. It&#8217;s independent of InstanceContextMode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://kennyw.com/indigo/150#comment-90116</link>
		<author>Scott</author>
		<pubDate>Thu, 28 Feb 2008 08:25:06 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-90116</guid>
		<description>Kenny,

I am seeing a weird behavior related to throttling and sessions that I was hoping you could explain to me.  I am using the netTcpBinding, with the InstanceContextMode=Single and the ConcurrencyMode=Multiple.  I hit the service with 20 simultaneous threads expecting to hit the default MaxConcurrentCalls throttle of 16, but instead I am hitting the MaxConcurrentSessions throttle of 10.  Why is that when I am not using PerSession for my InstanceContextMode?

Thanks for the help,
-Scott</description>
		<content:encoded><![CDATA[<p>Kenny,</p>
<p>I am seeing a weird behavior related to throttling and sessions that I was hoping you could explain to me.  I am using the netTcpBinding, with the InstanceContextMode=Single and the ConcurrencyMode=Multiple.  I hit the service with 20 simultaneous threads expecting to hit the default MaxConcurrentCalls throttle of 16, but instead I am hitting the MaxConcurrentSessions throttle of 10.  Why is that when I am not using PerSession for my InstanceContextMode?</p>
<p>Thanks for the help,<br />
-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Black</title>
		<link>http://kennyw.com/indigo/150#comment-79759</link>
		<author>Alex Black</author>
		<pubDate>Fri, 21 Dec 2007 03:21:56 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-79759</guid>
		<description>Hi Kenny, is there a way to set a timeout on an operation?

I've got a WCF service, and I've set MaxConcurrentCalls to 4.  If any individual call takes mroe than 15 seconds, I'd like WCF to kill it.  The time I am interested in is once the call has started, and its processing on the server, how long it takes.  I'm not interested in how long the client waited for the connection, or how long transmitting the datat took.

Is there a feature in WCF like that?

thanks!

- ALex</description>
		<content:encoded><![CDATA[<p>Hi Kenny, is there a way to set a timeout on an operation?</p>
<p>I&#8217;ve got a WCF service, and I&#8217;ve set MaxConcurrentCalls to 4.  If any individual call takes mroe than 15 seconds, I&#8217;d like WCF to kill it.  The time I am interested in is once the call has started, and its processing on the server, how long it takes.  I&#8217;m not interested in how long the client waited for the connection, or how long transmitting the datat took.</p>
<p>Is there a feature in WCF like that?</p>
<p>thanks!</p>
<p>- ALex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: De standaard waardes van ServiceHost zijn laag! - Jowen</title>
		<link>http://kennyw.com/indigo/150#comment-76563</link>
		<author>De standaard waardes van ServiceHost zijn laag! - Jowen</author>
		<pubDate>Thu, 22 Nov 2007 20:48:07 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-76563</guid>
		<description>[...] verhoogd. Het is bijvoorbeeld een stuk lastiger om zo een DoS attack op je dak te krijgen (meer info). Dus zet de waarden ook weer niet te [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] verhoogd. Het is bijvoorbeeld een stuk lastiger om zo een DoS attack op je dak te krijgen (meer info). Dus zet de waarden ook weer niet te [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/indigo/150#comment-69695</link>
		<author>Kenny</author>
		<pubDate>Mon, 08 Oct 2007 20:13:21 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-69695</guid>
		<description>Thanks for the head's up. Bug in wordpress upgrade, should be fixed now.</description>
		<content:encoded><![CDATA[<p>Thanks for the head&#8217;s up. Bug in wordpress upgrade, should be fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Pujals</title>
		<link>http://kennyw.com/indigo/150#comment-62546</link>
		<author>Tony Pujals</author>
		<pubDate>Fri, 10 Aug 2007 06:21:14 +0000</pubDate>
		<guid>http://kennyw.com/indigo/150#comment-62546</guid>
		<description>Good info; decided to subscribe to your blog. Just wanted to let you know the indicated RSS Indigo link isn't working, but the following does: http://kennyw.com/category/indigo/rss</description>
		<content:encoded><![CDATA[<p>Good info; decided to subscribe to your blog. Just wanted to let you know the indicated RSS Indigo link isn&#8217;t working, but the following does: <a href="http://kennyw.com/category/indigo/rss" rel="nofollow">http://kennyw.com/category/indigo/rss</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
