Shared Instance Pools

3563
2
01-03-2020 12:04 PM
JacobBoyle412
Esri Contributor
3 2 3,563

At the Architecture Practice, we are getting a lot of questions about shared instance pools.  

Before 10.7.0, the solution for reducing the amount of RAM was to set low-utilization so that the minimum number of instances in that service’s dedicated pool to zero. By doing so, you allow ArcGIS Server to not run any ArcSOCs for the service if it hasn’t received any requests in a while. 

This “min-zero” solution eliminates the resource usage for services that are going unused. Because you can still set the maximum number of instances, you can accommodate services that receive infrequent bursts of traffic.  The next time the service gets a request, an ArcSOC powers up to handle it at the cost of the startup time of the ArcSOC.  Also, this service could then sit idle for a more extended period, consuming the started SOC until the service hits the set idle timeout.

At 10.7.0, Esri announced support for shared instance pools. Every ArcGIS Server Site now comes with a shared instance pool, containing four ArcSOC processes by default. This number can increase to accommodate more services. The shared instance pool utilizes all of the SOCs assigned to it, so you should only increase the pool as you need to.

Once a compatible map service has published to your ArcGIS Server Site, you can designate it to use the shared pool. Any service added to the shared instance pool will no longer have its dedicated pool; it will dip into the shared pool and use a SOC or two as needed. Once it’s done handling a request, that ArcSOC is free to be used by any other service in the shared pool.

The following restrictions limit what services can use the shared instance pool:

  • Only map services published from ArcGIS Pro can be configured to use the shared instance pool. Other service types, such as geoprocessing services, are not supported.
  • Only specific capabilities of map services—feature access, WFS, WMS, and KML—can be enabled. Turn off all other capabilities before continuing.
  • Services that have custom server object extensions (SOEs) or server object interceptors (SOIs) cannot use shared instances.
  • Services published from ArcMap cannot use shared instances.
  • Cached map services published from ArcGIS Pro that meet the above requirements can use shared instances.

For further information, please see:

Introducing shared instances in ArcGIS Server 10.7 

Configure service instance settings—ArcGIS Server Administration (Windows) | ArcGIS Enterprise 

2 Comments
RavitejaViswanadha_CyientInc
New Contributor III

Dear @JacobBoyle412 ,

Does the hosted feature services support the Shared Instances ? 

Understanding that from administrator page we noticed that Shared Instances use  "provider": "DMaps" and Dedicated Instances use  "provider": "ArcObjects11" , is it something we can change from ArcGIS Server Admin REST page to convert Dedicated to Shared Instances and Vice versa ? 

JacobBoyle412
Esri Contributor

@RavitejaViswanadha_CyientInc 

Hosted instances already use a similar concept, they do not benefit from shared instances and cannot use shared instances. 

About the Author
Mr. Boyle is an expert in GIS technology, system planning, design, development and administration with a focus on public sector and E&P in the oil and gas industry. He has 15 years experience as a government, non-profit and E&P employee for organizations in North America. Through his work as a GIS Database Administrator, he has gained in-depth organizational and technical experience for system development, deployment, and management. He has strong technical skills in GIS and IT application design and development, database design, systems architecture, and integration and holds several technical certifications. His technical skills are complemented by his experience in project management and organizational development. He has a Bachelors in Environmental Studies – Geography, Mr. Boyle has received extensive post graduate training and education in information technology, GIS, and Geographix. He holds a GISP Certificate.