<?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: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1579145#M86432</link>
    <description>&lt;P&gt;cc&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/57225"&gt;@SaschaBrunner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 16:40:24 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2025-01-27T16:40:24Z</dc:date>
    <item>
      <title>Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1578117#M86422</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We're recently switched from FeatureLayers applyEdits to Client-side StreamLayer in our application and have had some performance issues since. The problems seem to be related to the updates triggered by the updateInterval of the StreamLayer. These updates seem to be triggered even thought&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Layer is empty&lt;/LI&gt;&lt;LI&gt;No messages have been sent to the layer&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;These updates trigger quite a lot of GPU usage on low end hardware (up to 70-100%) on integreated graphic cards. The result is a constant high GPU usage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried mitigating this in the following way&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;calling layerview.pause() on init&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;resume() on the data-received event&lt;/LI&gt;&lt;LI&gt;pause again once layerView.updating is false&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This works fine on Mapview, but Sceneview seem to be stuck in an endless update (update is always true).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also tried calling layer.refresh on data-received. This works on MapView, but the layer is not refreshed in Sceneview. Refresh is called, but it seem to get stuck on _debounceHasDataChanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'de idealy like to trigger a debounced update of the layer only when data has actually been received (the data-received event)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is two identical stackbliz projects. One with Mapview and one with Sceneview. I've also added a video showing the dev console for both projects, to showcase that the update events aren't triggered in the Sceneview.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackblitz.com/edit/xghgm5wq-ener7wxp?file=src%2Fmain.js" target="_self"&gt;MapView&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackblitz.com/edit/xghgm5wq-bbc3ytsp?file=src%2Fmain.js" target="_self"&gt;Sceneview&lt;/A&gt;&amp;nbsp;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6367544964112w998h540r959" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6367544964112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6367544964112w998h540r959');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6367544964112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6367546658112w960h540r904" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6367546658112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6367546658112w960h540r904');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6367546658112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Video showcasing perfomance problems on an empty streamlayer. i5, 8BG RAM integrated Intel graphics.&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Emil&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 08:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1578117#M86422</guid>
      <dc:creator>EmilAura</dc:creator>
      <dc:date>2025-01-23T08:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1578240#M86424</link>
      <description>&lt;P&gt;Which version of 4.x are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 15:47:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1578240#M86424</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2025-01-23T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1579003#M86431</link>
      <description>&lt;P&gt;We're using 4.31.6&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 07:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1579003#M86431</guid>
      <dc:creator>EmilAura</dc:creator>
      <dc:date>2025-01-27T07:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1579145#M86432</link>
      <description>&lt;P&gt;cc&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/57225"&gt;@SaschaBrunner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1579145#M86432</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2025-01-27T16:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1600915#M86781</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/445746"&gt;@EmilAura&lt;/a&gt;&amp;nbsp; FYI we're still looking into the SceneView updating issue.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 16:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1600915#M86781</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2025-03-31T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side StreamLayer perfomance problems and different update behavior in Map/SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1630376#M87328</link>
      <description>&lt;P&gt;Thanks for reporting this issue. This will be improved with the next release 4.34 and "update" will show reflected accordingly.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 09:40:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-streamlayer-perfomance-problems-and/m-p/1630376#M87328</guid>
      <dc:creator>SaschaBrunnerCH</dc:creator>
      <dc:date>2025-07-04T09:40:12Z</dc:date>
    </item>
  </channel>
</rss>

