Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Given below are the key points to note:

1. Configure an external database server such as MySQL as the persistence storage instead of embedded H2 database. Althogh slight performance gains can be experienced when using simple BPEL processes with H2 database, it cannot handle multiple concurrent requests and complex processes with the same efficiency.

2. Configure 'multi-threaded Http connection manager' connection pool settings to suit your BPEL processes.Typically, the HTTP connection manager should be configured to be in sync with the concurrent HTTP connections in the BPS server.

There are two configurations in Http connection manager. One is 'max total connections' and other is 'max total connection per host'. These settings will depend on the number of concurrent requests BPS needs to handle, and the number of external service calls in involve per process instance. For example,

Code Block
languagehtml/xml
<tns:WSO2BPSxmlns:tns="http://wso2.org/bps/config">
    ...
    <tns:MultithreadedHttpConnectionManagerConfig><tns:maxConnectionsPerHostvalue="20"/><tns:maxTotalConnectionsvalue="200"/></tns:MultithreadedHttpConnectionManagerConfig>
    ...
</tns:WSO2BPS>

 

 

Excerpt
hiddentrue

Instructions to add a BPEL process in WSO2 BPS and manage it as a service.