<?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 What is the fastest method for creating a feature service? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/what-is-the-fastest-method-for-creating-a-feature/m-p/805307#M2247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently using the API to publish a feature service from a File GDB in ArcGIS Online. This works fine. If I load this into an AWS lambda function however, the total time to execute is greater than the 29s allowed for a lambda function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are other methods, such as publishing from a .sd or cloning an existing feature service from within the same org (is this possible?), any faster than publishing from a File GDB hosted in arcgis online?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 19:45:17 GMT</pubDate>
    <dc:creator>GregStevenson</dc:creator>
    <dc:date>2018-03-12T19:45:17Z</dc:date>
    <item>
      <title>What is the fastest method for creating a feature service?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/what-is-the-fastest-method-for-creating-a-feature/m-p/805307#M2247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently using the API to publish a feature service from a File GDB in ArcGIS Online. This works fine. If I load this into an AWS lambda function however, the total time to execute is greater than the 29s allowed for a lambda function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are other methods, such as publishing from a .sd or cloning an existing feature service from within the same org (is this possible?), any faster than publishing from a File GDB hosted in arcgis online?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 19:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/what-is-the-fastest-method-for-creating-a-feature/m-p/805307#M2247</guid>
      <dc:creator>GregStevenson</dc:creator>
      <dc:date>2018-03-12T19:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is the fastest method for creating a feature service?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/what-is-the-fastest-method-for-creating-a-feature/m-p/805308#M2248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the create service function located here:&amp;nbsp;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.create_service" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.create_service"&gt;arcgis.gis module — arcgis 1.4.0 documentation&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, to create&amp;nbsp;the service and layers, you'll have to chain together create_service, update_definition and/or add_definition methods to build the service.&amp;nbsp;I think this will be the fastest way but I haven't profiled anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;cloning an existing feature service from within the same org (is this possible?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can do this, but it will be the same calls as listed above plus some validation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 19:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/what-is-the-fastest-method-for-creating-a-feature/m-p/805308#M2248</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-03-12T19:56:22Z</dc:date>
    </item>
  </channel>
</rss>

