beautypg.com

Apple WebObjects 3.5: Serving User Manual

Page 33

background image

Serving WebObjects

34

instances of MyApp run on host toga and two instances run on host tutu. If you
were to set up a

WebObjects.conf

file by hand, you could assign instance numbers 1

and 2 to the two instances on toga and instance numbers 1 and 2 to the instances
on tutu. This is legal, but it’s not supported by the Monitor, and if you do this,
you won’t be able to use Monitor for the instances you’ve created.

To determine how many instances of an application you should run, do the
following:

1. Test the application using the recording and playback performance tools as

described in the section “Performance Testing.”

2. Check the application’s response times using the Application Inspector in

the Monitor application.

3. If the response time is slow, use Monitor to add another instance of the

application.

4. Continue to add instances and check their response times. When all

instances have reasonable response times, you have the number of instances
you need.