Configuring TAO's Components

Overview

As described in the options documentation, various components in TAO can be "tuned" by specifying options for those components. Here we present some examples of how to combine these options to achieve certain effects on ORB operations.

Where Are Options Specified?

TAO configures itself using the ACE Service Configurator framework. Thus, options are specified in the familiar svc.conf file (if you want to use a different file name, use the -ORBsvcconf option

Roadmap

Details for the following configurations are provided.

Each configuration has the following information:

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.
Options Specifies the options for each service in order to utilize this configuration.

Configurations

Single-threaded, reactive model.

Typical Use This is definitely the most common use of an ORB in a server situation, where there is a single thread handling requests from multiple clients.
Number Threads 1
Thread Creator Operating System or whoever creates the main thread in a process.
Resource Location Resources are stored process-wide.
Thread task The single thread processes all connection requests and CORBA messages.
Options TAO_Resource_Manager: -ORBresources global
TAO_Server_Strategy_Factory: -ORBconcurrency reactive

Multiple threads, thread-per-connection model.

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.

Multiple threads, orb-per-thread model.

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.

Multiple threads, orb-per-thread, thread-per-connection model.

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.

Multiple threads, thread-pool model. (Not yet implemented.)

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.

Multiple threads, orb-per-thread, thread-pool model. (Not yet implemented.)

Typical Use A brief description of the scenario and its typical use.
Number Threads The number of threads used by ORB-related activities.
Thread Creator Identifies the creator of the threads discussed above.
Resource Location Where information on various resources is stored.
Thread task Describes what task is undertaken for each thread.


Back to the TAO components documentation.