Tuning bus-enabled Web services

You can use the administrative console or a Jacl script to tune performance settings for the Web services enablement of the service integration bus.

About this task

Bus-enabled Web services dynamically select an optimized route through the code where possible. This fast-path route through the bus is used if the following criteria are met:
  • The inbound port and outbound port for the service are on the same server.
  • There are no mediations on the path from the inbound port to the outbound port.

If your Web services use the fast-path route, you need not tune mediations or the service integration bus. However it is good practise to do so, because a typical environment will have at least one non-fast-path (for example, mediated) service.

To improve the performance of bus-enabled Web services you can tune the following parameters:
  • The Java™ virtual machine heap size. This helps ensure there is enough memory available to process large messages, or messages with large attachments.
  • The maximum number of instances of a message-driven bean that are permitted by the activation specification for the service integration technologies resource adapter. This throttles the number of concurrent clients serviced.
  • The maximum batch size for batches of messages to be delivered to a client. By default, only a single message is delivered to a message-driven bean instance at one time; you can improve performance by allowing messages to be sent in batches to a message-driven bean.
  • The number of threads available to service requests for each client. That is, the number of threads available in the default thread pool, the Web container thread pool and the mediation thread pool for a given application server.
  • The number of threads available in the mediation thread pool. This assumes that your mediations use concurrent support where appropriate, as explained in Concurrent mediations.

If you have mediations that act on SOAP headers, you can improve performance by inserting the associated header schemas (.xsd files) into the SDO repository.

To tune bus-enabled Web services, complete one of the following two steps: If you have mediations that act on SOAP headers, also complete the following step:

Procedure




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 5:25:00 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-base-dist&topic=tjw_tune
File name: tjw_tune.html