CORBA 2.6 Administration Guide
balancing by allowing multiple processes to work in parallel to perform the same task. TS/MP also
provides for availability: its monitor process, called PATHMON, automatically restarts a process that
fails. Because TS/MP provides all process management for the NonStop CORBA system, you use
TS/MP interfaces for either the line-oriented PATHCOM utility or the corresponding programmatic
interface (based on the SPI) to configure and manage the NonStop CORBA system processes. The same
holds true for any NonStop CORBA application process that you configure as TS/MP processes.
Application Performance Tuning
Application performance tuning for NonStop CORBA application servers includes:
Determining the best relative locations of clients, servers, and data●
Managing application server pools●
Server-pool management includes deciding how many server processes each pool requires and detecting
when a performance problem results from a factor other than an insufficient number of server processes.
In general, performance tuning of stateless server pools is straightforward. Provided that you define the
server pool in your PATHCOM configuration file to allow a sufficient number of server processes,
TS/MP can automatically add and delete processes to accommodate changes in workload (just as a store
varies the number of clerks on duty). You can use PATHCOM to study the utilization of processes in the
pool and to help you decide if you need to increase the maximum number of configured processes.
Tuning stateful server pools is more complex. Because all requests to a specific object go to the same
process for the duration of a request (even if other processes in the server pool are idle), TS/MP cannot
completely balance the workload across the servers in the pool. Requests to different instances of the
same object class can be balanced across processes in a server pool, but requests to the same instance, by
one or more clients, must go to the same server. Because of this limitation, some server processes might
be overworked while others sit idle.
You can use PATHCOM to detect problems in tuning stateful server pools, but solving the problem often
involves changing the application design. You can, for example, redefine object classes so more accept
stateless requests. You also might redesign your application so that the same transaction is accomplished
by making smaller requests to the application object.
Chapter 4. Configuration and
Management Using Commands
Chapter 6. Configuring Security
Features