<?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 : Entity Manager Queuing</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Entity Manager Queuing</description>
  <pubDate>Sat, 11 Apr 2026 11:37:30 -700</pubDate>
  <lastBuildDate>Mon, 23 Aug 2010 11:41:45 -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=2082</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>Entity Manager Queuing : 1) Asynchronous queries are &amp;#034;issued&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2082&amp;PID=8145#8145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2082<br /><strong>Posted:</strong> 23-Aug-2010 at 11:41am<br /><br />1) Asynchronous queries are "issued" in the order that you've called them, but their completion (and subsequent processing) is dependent on when the queries complete.&nbsp; Each async query is processed on a separate worker thread, and the EntityManager does track all outstanding async requests but doesn't actually queue them.&nbsp; As async requests complete back on the main calling thread they will be processed in the order they've completed.&nbsp;<DIV>&nbsp;</DIV><DIV>2) In terms of the pipeline between client and server, there's really no difference between one EntityManager issuing&nbsp;many async requests vs. many EntityManagers each issuing one request.&nbsp;&nbsp; If each EM is connected to the same EntityServer then they will all use a common communication proxy.&nbsp;&nbsp; It's therefore application dependent how you handle this - it may be cleaner, or even more performant, to use separate EMs to load data and then import into a central EM, but it would really depend on your specific needs and require some performance testing.&nbsp; Remember that an EM is not threadsafe, and can only be safely used by one thread at a time.</DIV>]]>
   </description>
   <pubDate>Mon, 23 Aug 2010 11:41:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2082&amp;PID=8145#8145</guid>
  </item> 
  <item>
   <title>Entity Manager Queuing : Hi All, Two questions:   1....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2082&amp;PID=8132#8132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 2082<br /><strong>Posted:</strong> 22-Aug-2010 at 1:50pm<br /><br />Hi All, Two questions: <DIV>&nbsp;</DIV><DIV>1. If multiple queries are called to one entity manager at the same time how does the entity manager queue them up? For instance if 5 queries are called at the same time in what order will they be executed? Will the entity manager only ever execute them sequentially or at the same time?</DIV><DIV>&nbsp;</DIV><DIV>2. If I have multiple sets of data to pull at the same time, is it more <SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-AU; mso-bidi-: AR-SA" lang=EN>advantageous </SPAN>to create multiple entity managers and send each data call through a different manager?</DIV><DIV>&nbsp;</DIV><DIV>All these data calls are being fired from different controls in the application so creating parallel tasks isnt really possible.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV>]]>
   </description>
   <pubDate>Sun, 22 Aug 2010 13:50:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2082&amp;PID=8132#8132</guid>
  </item> 
 </channel>
</rss>