Adjust the scale factor for Event Framework jobs

task australia Updated Nov 6, 2026 1 min read t_AjustScaleFactorEF.md
Raw file servicenow.com

Adjust the scale factor to modify the number of worker threads per app node, which increases or decreases throughput.

Before you begin

Confirm the following:

  • You're using Discovery Admin Workspace v1.9.0 or later.
  • You're using the Xanadu Patch 9, Yokohama Patch 4, or later version of the ServiceNow AI Platform®.
  • The discovery.use.event.processing system property is turned on. For more information, see Configure Discovery to use Event Framework.
  • The Job configuration type field of the Queue Registration form is set to Scale with nodes. For more information, see Queue Registration form reference.

Role required: discovery_admin

About this task

If your instance becomes slow while Discovery is running, you can adjust the scale factor to modify the number of worker threads per app node. The default scale factor is set to 2, which corresponds to two worker threads per app node.

For example, if you increase the scale factor to 3, Discovery uses three worker threads per app node, increasing throughput. Conversely, reducing the scale factor to 1 limits Discovery to a single worker thread per app node, which decreases throughput.

Procedure

  1. Navigate to All > System Policy > Queue Registry.

  2. Choose one or more job types for which you want to adjust the scale factor.

    Job type Action
    IP-based Select discovery.sensors from the Queue Registry [sysevent_queue] table.
    Cloud-based Select discovery.cloud.sensors from the Queue Registry [sysevent_queue] table.
  3. In the Scale factor field, set a value.

    Note:

    • On the Queue Registry list view, this field is labeled Job configuration value. On the record form, it is labeled Scale factor.
    • The default maximum value is 3. To increase the scale factor beyond 3, open the Queue Provider Param [sysevent_queue_provider_param] table, filter by Provider: Event Provider, and increase the value in the max_thread_utilization field. This change affects all jobs in the Queue Registry [sysevent_queue] table where the provider is Event Provider. By default, only discovery.sensor and discovery.cloud.sensors have scale factor values high enough to be affected.
  4. Select Update.

Parent Topic:Optimizing Discovery load for Event Framework

Search documentation
Search document titles and file paths on the australia branch