Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring a requestor pool for a service package

Updated on April 6, 2022

Use the Pooling tab to configure a requestor pool for the services in this service package.

Before you begin: Create a service package. For more information, see Creating a service package.
Note: Client managed cloud systems disable request pools by default. Requestor pools remain enabled by default in Pega Cloud and on-premises environments. To enable requestor pools, see Learning about default dynamic system settings.

For best practices when changing requestor pool values, see Requestor pooling for services.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Integration-Resources category, and then click Service Package.
  3. Click the row of the service package that you want to open.
  4. Click the Pooling tab.
  5. In the Maximum idle requestors field, specify the maximum number of idle requestors that can be in the pool for services from this package.
    When service requests reach the Maximum idle requestors value, the system creates an active requestor. Active requestors that become idle and are returned to the pool are deleted when the current number of idle requestors reaches the Maximum Idle Requestor limit.

    To allow an unlimited number of idle requestors, set the Maximum idle requestors value to -1. The system does not delete idle requestors until they time out.

    Note: The Maximum idle requestors value must not exceed the Maximum active requestor value.
  6. In the Maximum active requestors field, specify how many concurrent requestors the system can create and put into use for the services in this package.
    If a service request arrives when the number of active requestors is at this limit, the system waits for an idle requestor. It does not create a requestor for the service request.

    To allow an unlimited number of active requestors, set the Maximum active requestors value to -1 so requests never wait. If the pool has no idle requestors, the system creates a new active requestor.

  7. In the Maximum wait (in seconds) field, specify how long, in seconds, the system waits for a requestor to return to the pool when a service request arrives, but the number of active requestors has reached the Maximum Active Requestors limit.
    If this time interval passes before any requestor returns to the pool, the request fails. The system sends a failure message to the external client system.
  8. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us