Use this task to tune the application server.
Before you begin
Why and when to perform this task
To ensure that the business process container can preform optimally,
you need to adjust the server settings.
Steps for this task
- Estimate the application server resources that you need for each
business process container.
- One data source, to read and write business process state information
to a database: jdbc/BPEDB
- Calculate the maximum concurrency of transactions, t,
for the process navigation by adding the following:
- The maximum number of clients concurrently connected through the Business
Process Choreographer API
- The number of concurrent endpoints defined in the JMS activation specification
BPEInternalActivationSpec
- The number of concurrent endpoints defined in the JMS activation specification
HTMInternalActivationSpec
Note: To view the activation specifications for the process server, in
the administrative console, click .
- Calculate the number of parallel JDBC connections required to the process
server database, p = 1.1 * t
Note: The
value of p must not be greater than the number of connections
allowed by the database.
- Calculate the number of parallel JDBC connections required to the messaging
database, m = 2 * t + x,
where x is the number of additional JMS sessions to allow
for overloads situations where additional messages are generated and must
be served
- Tune the JDBC provider settings for the process server database
(BPEDB).
- Set Max Connections to the value p.
The value of p must not be greater than the number of connections
allowed by the database.
- Set the SQL Statement cache size to 500.
- Tune the JDBC provider settings for the messaging database.
Set Max Connections to the value m.
- Tune the heap size.
Here are some guidelines
for the size of the server heap:
- 256 MB is too low, and results in poor performance.
- 512 MB is adequate as an initial heap size for many systems.
- 1024 MB is a reasonable upper limit.
- Tune any services that are used by your business processes. Make sure that your supporting services are tuned to cope with the degree
of concurrency and load demands that Business Process Choreographer makes
on the service.
Result
The application server is tuned for improved performance.