4.11.1 About System Traffic and Bottlenecks
Bottlenecks can occur in your system when traffic volume nears resource capacity. You can measure service traffic using a global counter in your implementation code.
For example, in Tuxedo applications, when
tpsvrinit()
is invoked at boot time, you can
initialize a global counter and record a starting time.
Subsequently, each time a particular service is called, the counter
is incremented. When the server is shut down by invoking the
tpsvrdone()
function, the final count and the ending
time are recorded. This mechanism allows you to determine how busy
a particular service is over a specified period of time.
Note:
For CORBA C++ applications, use theServer::initialize()
and Server::release()
operations.
In Oracle Tuxedo, bottlenecks can originate from data flow patterns. The quickest way to detect bottlenecks is to begin with the client and measure the amount of time required by relevant services.
Parent topic: Measuring System Traffic