<?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>idea Fix 4.2x so that initial requests for large layers are faster in ArcGIS JavaScript Maps SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idi-p/1136691</link>
    <description>&lt;P&gt;As of 4.21 ArcGIS JavaScript made a change to the way it initially fetches and sets up a new FeatureLayer in the API. There is a request to get the total count of records. This &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/arcgis-4-2x-now-much-slower-to-fetch-and-draw/td-p/1136687" target="_self"&gt;can be extremely slow for large datasets&lt;/A&gt; and degrades performance rather than improves it for apps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ESRI should fix the API to make the behaviour opt-in, update the docs and release notes to clarify the trade-offs so developers understsand what it is doing and what is best for their use case.&lt;/P&gt;&lt;P&gt;Once ESRI fixes the behavior to make it opt-in, they can reword the release notes like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanSutcliffe_0-1643073496126.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32169i2F7963341F466329/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanSutcliffe_0-1643073496126.png" alt="RyanSutcliffe_0-1643073496126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 01:18:34 GMT</pubDate>
    <dc:creator>RyanSutcliffe</dc:creator>
    <dc:date>2022-01-25T01:18:34Z</dc:date>
    <item>
      <title>Fix 4.2x so that initial requests for large layers are faster</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idi-p/1136691</link>
      <description>&lt;P&gt;As of 4.21 ArcGIS JavaScript made a change to the way it initially fetches and sets up a new FeatureLayer in the API. There is a request to get the total count of records. This &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/arcgis-4-2x-now-much-slower-to-fetch-and-draw/td-p/1136687" target="_self"&gt;can be extremely slow for large datasets&lt;/A&gt; and degrades performance rather than improves it for apps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ESRI should fix the API to make the behaviour opt-in, update the docs and release notes to clarify the trade-offs so developers understsand what it is doing and what is best for their use case.&lt;/P&gt;&lt;P&gt;Once ESRI fixes the behavior to make it opt-in, they can reword the release notes like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanSutcliffe_0-1643073496126.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32169i2F7963341F466329/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanSutcliffe_0-1643073496126.png" alt="RyanSutcliffe_0-1643073496126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 01:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idi-p/1136691</guid>
      <dc:creator>RyanSutcliffe</dc:creator>
      <dc:date>2022-01-25T01:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fix 4.2x so that initial requests for large layers are faster</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1218822#M203</link>
      <description>&lt;P&gt;Got burned by this as well moving to 4.24 - Only dealing with 146K point geometries in our case, but some latency issues in the network infrastructure can't immediately be rectified and yielded a 40 sec+ wait for rendering client-side.&amp;nbsp; Hopefully future releases will take more factors into account rather than "assuming" performance characteristics.&amp;nbsp; A formal opt-in/opt-out behavior in the API is indeed warranted.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 20:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1218822#M203</guid>
      <dc:creator>NealFerguson</dc:creator>
      <dc:date>2022-10-04T20:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fix 4.2x so that initial requests for large layers are faster</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268157#M230</link>
      <description>&lt;P&gt;Hmm, I'm not sure we would make this opt-in by default, as 3.x also switches to snapshot mode, just at a lower count. Or potentially we could expose different strategies depending on the server.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/326034"&gt;@NealFerguson&lt;/a&gt;&amp;nbsp;are you seeing nothing render until 40+ seconds? If you open devtools, are you waiting on a really long count query? What server &amp;amp; version are you using?&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the testing we did internally, snapshot can significantly improve performance both for AGOL and enterprise (up to so certain point), but if there are some servers &amp;amp; versions in the wild where this is not true, it would be good to add exceptions internally for them.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 17:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268157#M230</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2023-03-15T17:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fix 4.2x so that initial requests for large layers are faster - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268159#M231</link>
      <description />
      <pubDate>Wed, 15 Mar 2023 18:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268159#M231</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-03-15T18:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fix 4.2x so that initial requests for large layers are faster</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268162#M232</link>
      <description>&lt;P&gt;Sorry this popped up &amp;amp; I'm just now realizing this was from a while ago. Our working theory is that this might be specific just to MapServers (trying to get access to a large one internally ATM) &amp;amp; if that's the case, we should be able to modify the querying logic for these services specifically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 18:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idc-p/1268162#M232</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2023-03-15T18:11:19Z</dc:date>
    </item>
  </channel>
</rss>

