<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Async RPC and timeouts</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Async RPC and timeouts</description>
  <pubDate>Fri, 12 Jun 2026 00:04:48 -700</pubDate>
  <lastBuildDate>Fri, 27 Jul 2007 09:52:51 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=336</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Async RPC and timeouts : I wanted to add some additional...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=787#787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 336<br /><strong>Posted:</strong> 27-Jul-2007 at 9:52am<br /><br /><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>I wanted to add some additional comments.</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>The length of time allotted for server response has nothing to do with whether the request is async or not.</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>"Async" merely means (in this context) that the <strong>UI is not blocked</strong> during the request. Blocking or not blocking has no bearing on the time it takes to complete a request.&nbsp;There is only so much time for the server to complete its task and get back to the client with the result. </FONT></SPAN><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>I hasten to add that amount of time allotted is the same whether it is a GetEntities or a RPC request: all of these requests go over the same channel.</FONT></SPAN></FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2><SPAN =875203502-27072007></SPAN></FONT></SPAN>&nbsp;</DIV><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>In sum,&nbsp;GetEntities or RPC, async or sync, there is a finite amount of time for the full round trip of request and response. If that trip exceeds the allotted time, the operation "times out".</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007></SPAN>&nbsp;</DIV><DIV dir=ltr align=left>The request&nbsp;timeout is configurable ON THE SERVER-SIDE</DIV><DIV dir=ltr align=left>&nbsp;</DIV><DIV dir=ltr align=left></FONT></SPAN><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>===</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>Please note that </FONT></SPAN><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>"Push" is a completely different topic. The time between a client's request and the response can be very long ... and is not governed by the timeout discussed here (except, of course, that the client's request for push service has to complete in time).</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>===</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>Most requests (async or not) will complete quickly. There may be a small number of requests that we know will&nbsp;take longer than the standard or default time &#091;see Kim's email on the defaults for both Remoting and WCF and the fact that WCF offers several timeouts&#093;.</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2>It would be unwise to set the server default to match the longest possible request. It is probably better to adopt a convention whereby a PM presenting a particular rdbkey extension gets a channel with a long timeout. Most requests use the regular path with the standard timeout. A client that needs to post a long running request would do so through a PM using this "long timeout" extension.</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN =875203502-27072007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jul 2007 09:52:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=787#787</guid>
  </item> 
  <item>
   <title>Async RPC and timeouts :  The default timeout value(s)...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=786#786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 336<br /><strong>Posted:</strong> 27-Jul-2007 at 9:48am<br /><br /><DIV =Secti&#111;n1><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The default timeout value(s) and how they are set differ between WCF and remoting, but are always set on the communications channel, not per individual request.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">With WCF, timeouts are extremely configurable – there are separate timeout settings for send, receive, inactivity, open and close. Generally, the SendTimeout defaults to 1 minute, and the ReceiveTimeout defaults to 10 minutes. Within DevForce, these values can be overridden by configuring communications using an app.config.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">With remoting, there’s one timeout value for sending/receiving on the channel, and the value apparently defaults to infinite.&nbsp; The value can also be configured using an app.config file.</SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Our async RPC implementation (which is not the same as our Push implementation) uses the same communications channel as is used for all other client to PersistenceServer calls. &nbsp;In WCF we open a “channel” to each PersistenceServer (there will be one PS per data source extension).&nbsp; &nbsp;<o:p></o:p></SPAN></FONT></P></DIV>]]>
   </description>
   <pubDate>Fri, 27 Jul 2007 09:48:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=786#786</guid>
  </item> 
  <item>
   <title>Async RPC and timeouts : I understand that&amp;#034;RPC async&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=785#785</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 336<br /><strong>Posted:</strong> 27-Jul-2007 at 9:46am<br /><br /><DIV dir=ltr align=left><SPAN ="875203502-27072007"><FONT face=Arial color=#0000ff size=2>I understand that&nbsp;"RPC async" can be used as a means to invoke an arbitrary&nbsp;server side method. I've been told that this method can be a long-running process but I never actually thought about how long that could be.&nbsp; Is there a limit to how long the timeout period can be?&nbsp; How is this timeout configured?</FONT></SPAN></DIV>]]>
   </description>
   <pubDate>Fri, 27 Jul 2007 09:46:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=336&amp;PID=785#785</guid>
  </item> 
 </channel>
</rss>