You are here: Integration > How requestor pooling for services works

  Concepts — How requestor pooling for services works

Concepts and terms

A requestor pool is a set of requestors that PRPC reserves for use by the services in a specific service package.

Requestor pooling is available for stateless, unauthenticated service requests only. Requestor pooling often improves the performance of a service because requestors are reused, their allocated resources are shared, and the service need not wait for a requestor to be created.

How it works

The first time a service from the service package runs, PRPC creates a requestor for it and creates the pool for the service package. When the service processing is complete, PRPC adds the requestor to the pool.

The next time a service from that service package runs, PRPC assigns the service a requestor from the pool if one is available. Otherwise, PRPC creates and assigns a new requestor. When the service completes, PRPC returns the requestor to the pool.

Requestors associated with a pool belong in one of two categories:

You specify how many requestors can be in the pool on the Pooling tab of the service package form. The setting for the number of idle requestors defines the size of the pool. The setting for the number of active requestors defines how many concurrent requestors you want to allocate to the services in the service package.

When the pool has no idle requestors, PRPC continues to create new requestors for service requests until it reaches the limit specified for active requestors. If a service request arrives after that limit is reached and no idle requestors are in the pool, PRPC waits to manage the request until an active requestor returns to the pool.

When an active requestor completes processing, PRPC checks the limit for idle requestors before returning that requestor to the pool. If the pool is under the limit, the requestor becomes idle and PRPC returns it to the pool. If the pool is at the limit, PRPC deletes the requestor instead.

Testing

When testing or monitoring a service, you can examine the status of the requestor pool using the System Management application.

  1. Start the System Management application. You may be prompted for authentication credentials.
  2. Select a node.
  3. From Select Administration > Requestor pools.
  4. If desired, click a radio button for one pool. Click  Clear Requestor Pool   to terminate idle requestors for that pool.
Related topics About the System Management application
About Service Package data instances

UpConcepts