CORBA 2.3.3 Programmer's Guide for Java
Chapter 6. Writing Scalable Applications
Prev
Next
Chapter 6. Writing Scalable Applications
Table of Contents
Overview of Scalability Choices
Using Stateless Objects and Server Pools
Writing Your Application to Use Server Pools
Stateful and Stateless Objects
State Policy
Using Stateless Factory Objects to Create Stateful Servants
Adjusting TS/MP Configuration Parameters
Using Parallel Library TCP/IP
Increasing the Number of Comm Server Processes
Using Multiple Instances of NonStop TCP/IP
Using Multithreaded Servers
As applications increase in size, NonStop CORBA provides a number of ways to accommodate this
growth. This section describes how to use the features of NonStop CORBA and the underlying NonStop
Himalaya systems to support larger applications, decrease response time, and increase throughput.
Certain scalability functions are taken care of automatically by the NonStop CORBA ORB. For example,
new local or remote clients can connect to the ORB with no configuration changes required on the
NonStop Himalaya system. Parts of the ORB, including communications processes, the Naming Service,
and the Transaction Service implementation (NSJTS), use TS/MP to provide scalability features,
including load balancing and automatic starting of new processes as needed.
You can use other scalability features by adjusting your configuration and making programming changes
in various ways, as described in this section.
The server portion of the Bank sample program provides an example of a highly scalable stateless servant
for a database object. For details, refer to the server subdirectory within that sample.
Overview of Scalability Choices
The following is a list of things you can do to increase the capacity, throughput, and response time of
your NonStop CORBA applications:
Design your application to use stateless objects, which allow NonStop CORBA to scale your
application automatically through the use of TS/MP.
●