<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple querytasks in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632286#M16252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a solution for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I had to make the queries in two steps, first 10 queries during the parcel search and the next 15 queries during the report generation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the user doesn't have to wait more than one second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will investigate this later, when ESRI will release the 2.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 May 2010 16:15:18 GMT</pubDate>
    <dc:creator>DanDulan</dc:creator>
    <dc:date>2010-05-25T16:15:18Z</dc:date>
    <item>
      <title>Multiple querytasks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632283#M16249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a Silverlight 4 app (Esri Silverlight 2.0 API) and I am trying to figure out how to query 20+ layers (in parallel) and still have good performance.( I have to use the parcel geometry to query these layers and get the geometry and some attributes back).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best pattern for this type of functionality?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I use multitreading?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are any service cfg settings to improve the performance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Fiddler, I noticed that only for the first two queries the ServerGotRequest time is identical, then the next one after the first query is proccesed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we send more than two queries simultaneously?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, It is possible to use the querytask on the server side?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 21:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632283#M16249</guid>
      <dc:creator>DanDulan</dc:creator>
      <dc:date>2010-05-20T21:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple querytasks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632284#M16250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The browser doesn't allow to perform more thant two requests simultanously to one single domain. This is per the RFC specification (Some browsers do it anyway though).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are all about performance, having to perform 20 queries to complete a task, is probably where you should stop and rethink what you are doing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's because you need to do a drilldown through all the layers in one service, you should probably take a look at the IdentifyTask instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 01:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632284#M16250</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-05-21T01:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple querytasks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632285#M16251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Morten!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the requirements of my app is to build a parcel report, so I have to query 20+ layers to get the attributes and the geometries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right, identify task should be my&amp;nbsp; first choice.....but unfortunately it takes the same amount of time as 20 different querytasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because any individual querytask takes&amp;nbsp; 0.1 to 0.2 seconds,&amp;nbsp; it seems logical to try to send all of them and get the total response time under 1 second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Today, I have used the new client HTTP stack and I got 6 simultaneously connections. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know you can change the maxconnection for wcf web services. Is there any configuration setting like this for the querytask?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we set the maxconnection in rest.config?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan Dulan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 19:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632285#M16251</guid>
      <dc:creator>DanDulan</dc:creator>
      <dc:date>2010-05-21T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple querytasks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632286#M16252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a solution for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I had to make the queries in two steps, first 10 queries during the parcel search and the next 15 queries during the report generation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the user doesn't have to wait more than one second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will investigate this later, when ESRI will release the 2.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 16:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632286#M16252</guid>
      <dc:creator>DanDulan</dc:creator>
      <dc:date>2010-05-25T16:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple querytasks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632287#M16253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you share your code.&amp;nbsp; All I'm trying to do is query 2 separate parcel layers and have them both populate the same graphics layer and data grid. I have one query working perfectly, but QueryTask apparently doesn't like multiple layers like FindTask does, and FindTask is one attribute, in which I search several.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 22:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/multiple-querytasks/m-p/632287#M16253</guid>
      <dc:creator>BrandonCales</dc:creator>
      <dc:date>2011-02-15T22:11:48Z</dc:date>
    </item>
  </channel>
</rss>

