Have about 2000 points and lines features to be added in geometric network. Is it possible to use Javascript SDK feature service's applyEdits to do it? I tested on the rest service page to use applyEdit method, the time is more than default arcgis server's max time(10minutes).
Solved! Go to Solution.
Does it work if you do it in smaller batches? I've had to do that in some situations where the complexity of the data (e.g., very large/detailed polygons) would occasionally cause applyEdits on a regular feature service to timeout. The simplest solution in my case was to reduce the number of records that are added/updated in each request.
Does it work if you do it in smaller batches? I've had to do that in some situations where the complexity of the data (e.g., very large/detailed polygons) would occasionally cause applyEdits on a regular feature service to timeout. The simplest solution in my case was to reduce the number of records that are added/updated in each request.
By reducing the number of features of each request, increase the gis server instances, it works. On my server each request put 500 features, the time is about 3 minutes .