Oracle A54857-03 User Manual

Page 75

Advertising
background image

Multi-node Configuration

B-3

instances for its node.

6.

The cartridge instances are then registered with the Dispatcher, so that the
Dispatcher can direct requests to them.

When subsequent requests for the cartridge come in, the Dispatcher sends the
requests to unoccupied cartridge instances.

The MIN and MAX configuration parameters for the cartridge type determine
the minimum and maximum number of cartridge instances. Note the following
points about the meaning of these parameters if you are running in a distributed
environment:

The MIN and MAX values include cartridge instances running on all
nodes. For example, if you set a MIN for the PL/SQL Cartridge at 10, then
10 instances can be running on one node or spread over several nodes.

If you set the MIN value to 0, the cartridge factory spawns one cartridge
instance to handle a request, but it does not spawn any extra cartridge
instances. In this case, the Dispatcher does not have a list of cartridge
instances, and it sends all requests for the cartridge to the WRB. The WRB
then directs a cartridge factory to start up a cartridge instance to handle
the request.

Client

Listener

Dispatcher

WRB

Cartridge

Instance 1 of Cartridge A

Factory

Primary Node

Remote Node

Instance 2 of Cartridge A
Instance 3 of Cartridge A
Instance 4 of Cartridge A
Instance 5 of Cartridge A

Cartridge

Factory

Instance 6 of Cartridge A
Instance 7 of Cartridge A
Instance 8 of Cartridge A
Instance 9 of Cartridge A
Instance 10 of Cartridge A

1

2

3

4

5

6

4

5

6

Advertising