Sun Microsystems 820434310 manual Tuning the ORB, Connection Statistics, Thread Pools

Models: 820434310

1 128
Download 128 pages 34.03 Kb
Page 71
Image 71
Connection Statistics

ORB Settings

set serverInstance.iiop-service.orb.system.monitoringEnabled=true

reconfig serverInstance

Connection Statistics

The following statistics are gathered on ORB connections:

total-inbound-connections Total inbound connections to ORB.

total-outbound-connections Total outbound connections from ORB.

Use this command to get ORB connection statistics:

asadmin get --monitor

serverInstance.iiop-service.orb.system.orb-connection.*

Thread Pools

The following statistics are gathered on ORB thread pools:

thread-pool-size Number of threads in ORB thread pool.

waiting-thread-count Number of thread pool threads waiting for work to arrive.

Use this command to get ORB thread pool statistics:

asadmin get --monitor

serverInstance.iiop-service.orb.system.orb-thread-pool.*

Tuning the ORB

Tune ORB performance by setting ORB parameters and ORB thread pool parameters. You can often decrease response time by leveraging load-balancing, multiple shared connections, thread pool and message fragment size. You can improve scalability by load balancing between multiple ORB servers from the client, and tuning the number of connection between the client and the server.

The following table summarizes the tunable ORB parameters.

TABLE 3–3Tunable ORB Settings

Path

ORB modules

Server settings

 

 

 

RMI/ IIOP from application client to application

communication

steady-thread-pool-size, max-thread-pool-size,

server

infrastructure, thread

idle-thread-timeout-in-seconds

 

pool

 

 

 

 

Chapter 3 • Tuning the Enterprise Server

71

Page 71
Image 71
Sun Microsystems 820434310 manual Tuning the ORB, Connection Statistics, Thread Pools