<?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 GP Service - Shared dataframe object to improve the performance in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-shared-dataframe-object-to-improve-the/m-p/672994#M25658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published a GP service to ArcGIS server. I found that the operation speed is extermely slow because of the function ListDataFrames. To define&amp;nbsp;a dataframe object with respect to my mxd, it spended 3 mins. Actually, I do not need to&amp;nbsp;change the dataframe&amp;nbsp;in my operation. Therefore, it wastes the time on defining the dataframe object when the GP service is called each time.&lt;/P&gt;&lt;P&gt;Is any method to define the&amp;nbsp;dataframe object and keep it alive in my GP service so that dataframe will not be defined each time&amp;nbsp;when the GP service is called? (i.e. dataframe is defined when GP service is set up and destoryed when GP service is stopped).&lt;/P&gt;&lt;P&gt;I am not sure whether arcpy contains function for defining some globel objects&amp;nbsp;for&amp;nbsp;GP service operation or not. If no, SOE (server object extensions)&amp;nbsp;can do so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2017 07:51:11 GMT</pubDate>
    <dc:creator>calgis</dc:creator>
    <dc:date>2017-04-18T07:51:11Z</dc:date>
    <item>
      <title>GP Service - Shared dataframe object to improve the performance</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-shared-dataframe-object-to-improve-the/m-p/672994#M25658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published a GP service to ArcGIS server. I found that the operation speed is extermely slow because of the function ListDataFrames. To define&amp;nbsp;a dataframe object with respect to my mxd, it spended 3 mins. Actually, I do not need to&amp;nbsp;change the dataframe&amp;nbsp;in my operation. Therefore, it wastes the time on defining the dataframe object when the GP service is called each time.&lt;/P&gt;&lt;P&gt;Is any method to define the&amp;nbsp;dataframe object and keep it alive in my GP service so that dataframe will not be defined each time&amp;nbsp;when the GP service is called? (i.e. dataframe is defined when GP service is set up and destoryed when GP service is stopped).&lt;/P&gt;&lt;P&gt;I am not sure whether arcpy contains function for defining some globel objects&amp;nbsp;for&amp;nbsp;GP service operation or not. If no, SOE (server object extensions)&amp;nbsp;can do so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 07:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-shared-dataframe-object-to-improve-the/m-p/672994#M25658</guid>
      <dc:creator>calgis</dc:creator>
      <dc:date>2017-04-18T07:51:11Z</dc:date>
    </item>
  </channel>
</rss>

