Introduction
Understanding Layout Info Retrieval in VertiGIS Printing Tools
To present layout‑specific fields (e.g. those listed under 'Advanced Options') the printing component must retrieve detailed layout information from the ArcGIS Server. This is accomplished through the geoprocessing task:VertiGIS_Utilities/VertiGIS_Printing_Tools/GPServer/Get Layout Templates Info Task.
When observing this process in your browser’s Developer Tools, you will typically see the following request sequence:
- A submitJob request is initiated.
- The client sends several polling requests to check job progress.
- Once the task completes, the result is retrieved and the layout information is populated in the interface.
Under normal circumstances, this sequence is completed within a few seconds. However, following long periods of inactivity or after system cold starts, the ArcGIS Server may require additional time to initialize the resources and services needed for this task, resulting in the delayed first‑time load the introduction describes.
Improving Performance of the printing component
If layout information retrieval is consistently slow or users frequently experience delayed first‑time load behavior, there is one setting that can be changed to improve performance. This approach tackles the issue of both ArcGIS Server cold starts and limitations in service capacity.
Adjusting ArcGIS Server Geoprocessing Service Settings
One of the most common reasons for slow layout info retrieval is insufficient capacity on the ArcGIS Server. The printing geoprocessing service can only handle as many requests as the number of ArcSOC instances assigned to it.
To improve performance, consider increasing the minimum and maximum number of service instances for the VertiGIS Printing Tools geoprocessing service. Please also refer to ArcGIS Server documentation: Configure service instance settings.
|
We recommend defining the following settings:
|
Example:
If the service is configured with only two maximum instances, and both are busy handling long‑running print jobs, any new layout info retrieval request must wait in the queue, resulting in noticeable delays. By increasing the maximum instance count (e.g., from 2 to 5), the service can process more requests in parallel, leading to faster responses.
| Important: Higher instance counts increase CPU and memory consumption. Aim for a balanced configuration that matches the workload while preserving system stability. |
Comments
0 comments
Please sign in to leave a comment.