<?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: add feature by rest is so slow in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561638#M21691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you edit the feature service through the REST endpoint, do you still see the slowness? &amp;nbsp;Where is the database in relation to the ArcGIS Server? &amp;nbsp;Does the map service perform slowly when just panning and zooming?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 22:55:45 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2016-10-18T22:55:45Z</dc:date>
    <item>
      <title>add feature by rest is so slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561637#M21690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am adding features using this page as a reference&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/desktop/guide/edit-features.htm" title="https://developers.arcgis.com/net/desktop/guide/edit-features.htm"&gt;Edit features—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I create an instance of&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/desktop/api-reference?T_Esri_ArcGISRuntime_Data_ServiceFeatureTable.htm" style="color: #0079c1;" target="_blank"&gt;ServiceFeatureTable&lt;/A&gt;, initialize it&amp;nbsp;then I use addAsync, then&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/store/api-reference/html/M_Esri_ArcGISRuntime_Data_ServiceFeatureTable_ApplyEditsAsync.htm" style="color: #03697a;"&gt;ApplyEditsAsync&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is so slow (just three add by second). When I tried to add the features directly from SQL server, it is much faster (40 by second).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to keep the connection all the time, but it doesnt change anything&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Is there a better way to edit features?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;is it normal that I edit features by normal database connection?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 23:37:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561637#M21690</guid>
      <dc:creator>Pierre-JeanMuller</dc:creator>
      <dc:date>2016-10-17T23:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: add feature by rest is so slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561638#M21691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you edit the feature service through the REST endpoint, do you still see the slowness? &amp;nbsp;Where is the database in relation to the ArcGIS Server? &amp;nbsp;Does the map service perform slowly when just panning and zooming?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561638#M21691</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-10-18T22:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: add feature by rest is so slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561639#M21692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN&gt;When I try to modify using arcgis online, it is fast.&lt;BR /&gt;&lt;/SPAN&gt;my database is sql server database and it is on the same computer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;the map service is fairly good&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;here is my code if it is needed:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;BR /&gt;ServiceFeatureTable featureTable = new ServiceFeatureTable(url);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; featureTable.InitializeAsync(spatialReference).Wait();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; featureTable.OutFields = OutFields.All;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; featureTable.AddAsync(feature).Wait();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; FeatureEditResult result = featureTable.ApplyEditsAsync().Result;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 08:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561639#M21692</guid>
      <dc:creator>Pierre-JeanMuller</dc:creator>
      <dc:date>2016-10-19T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: add feature by rest is so slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561640#M21693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the testing. &amp;nbsp;I'm not familiar with .NET so I just wanted to see if it was possibly a performance issue between the ArcGIS Server and the database and not something within your code itself. &amp;nbsp;However, given that the map performs well and editing the feature service through REST is fine as well, it does seem something specific to .NET. &amp;nbsp;Another thing you can look at outside of your code is to set the logs to DEBUG and see if anything stands out within the logs when you &amp;nbsp;make an edit through .NET. &amp;nbsp;Sorry I couldn't be of more help, but perhaps someone more familiar with what you're doing can chime in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/add-feature-by-rest-is-so-slow/m-p/561640#M21693</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-10-19T15:15:09Z</dc:date>
    </item>
  </channel>
</rss>

