<?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 Running scripts in cloud environment really slow?  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639383#M49839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a general question regarding running scripts&amp;nbsp;and writing to&amp;nbsp;cloud environment (azure) and if anyone had ideas to make it run faster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I run a script that has various GP tools chained and outputs being saved in a cloud environment it runs almost 5x slower than if I save the outputs on my local drive. I go from 25 seconds&amp;nbsp;saving outputs to local&amp;nbsp;to 3 minuets saving on the cloud environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know writing to the cloud will always be slower but by that much ? Is this normal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on how to improve performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only a small script, a larger one that will take 5 mins on local drive would almost for sure be 5x slower.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2019 04:00:47 GMT</pubDate>
    <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
    <dc:date>2019-04-02T04:00:47Z</dc:date>
    <item>
      <title>Running scripts in cloud environment really slow?</title>
      <link>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639383#M49839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a general question regarding running scripts&amp;nbsp;and writing to&amp;nbsp;cloud environment (azure) and if anyone had ideas to make it run faster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I run a script that has various GP tools chained and outputs being saved in a cloud environment it runs almost 5x slower than if I save the outputs on my local drive. I go from 25 seconds&amp;nbsp;saving outputs to local&amp;nbsp;to 3 minuets saving on the cloud environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know writing to the cloud will always be slower but by that much ? Is this normal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on how to improve performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only a small script, a larger one that will take 5 mins on local drive would almost for sure be 5x slower.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 04:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639383#M49839</guid>
      <dc:creator>deleted-user-yC5VkbyXzrQR</dc:creator>
      <dc:date>2019-04-02T04:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running scripts in cloud environment really slow?</title>
      <link>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639384#M49840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/pro-on-azure-cloud.htm" title="https://pro.arcgis.com/en/pro-app/get-started/pro-on-azure-cloud.htm"&gt;ArcGIS Pro on Microsoft Azure Cloud—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not much mention of processing times, seems to mention rendering a lot&lt;/P&gt;&lt;P&gt;There is more info in the system requirements section&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/arcgis-pro-system-requirements.htm" title="https://pro.arcgis.com/en/pro-app/get-started/arcgis-pro-system-requirements.htm"&gt;ArcGIS Pro 2.3 system requirements—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 09:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639384#M49840</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-02T09:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running scripts in cloud environment really slow?</title>
      <link>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639385#M49841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say what you are seeing is expected, possibly even better than expected.&amp;nbsp; The performance of outputting data depends on many factors ranging from the size and structure of the data itself to the throughput and latency of the storage tier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many ArcGIS geoprocessing tools stream outputs to "disk" as they are generated/created, which makes sense because creating the output completely in memory before outputting it to disk isn't doable for many datasets.&amp;nbsp; Streaming outputs to disk continually results in smaller increments but more frequent disk activity.&amp;nbsp; Given that wide-area networks tend to operate on 10s or 100s of milliseconds of latency, and local disks tend to operate with substantially higher throughput and &amp;lt; 1 millisecond latency; it is expected that outputting geoprocessing tools straight to a cloud environment will be slow when the machine doing the processing is not in the cloud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest either running the analyses locally and copying just the final products to the cloud environment at the end, and/or process more of your intermediate datasets in-memory (if possible) before copying the final results to a cloud environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you could spin up ArcGIS on a cloud-based virtual desktop and do the processing and exporting completely within the cloud.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 14:16:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-scripts-in-cloud-environment-really-slow/m-p/639385#M49841</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-04-02T14:16:20Z</dc:date>
    </item>
  </channel>
</rss>

