Sunday, December 06, 2009

BPEL thread tuning

Why I write this?

Oracle has been changing the way the threads are increased or decreased from different versions of the SOA stack.

There are quite a number of people who do not read the documentations quite often and the change are put up like a small note some where.

And when you look at any presentations that talks about changing the number of threads, there are different version of the document as it was prepared for a version of the SOA stack.

Here I am trying to capture the thread setting for 10.1.3.4 and for older versions it is different.
For 10.1.3.5 and 11 there are no changes for the thread settings.

What is it with 10.1.3.4 and how it was before that?

In 10.1.3.1.0 there was this concept of dspMaxThreads which has been totally done away with.
The other setting were dspMinThreads and dspInvokeAllocFactor.

All this has been done away with and now there are only 3 different threads that you allocate directly to the server.

These are
dspInvokeThreads
dspEngineThreads
dspSystemThreads

The number of threads you allocate to the domain is directly controlled by these parameter.
There are no more any dspMaxThreads
All that crap calculations that was required with number of threads total in all domain is less that dspMaxThreads has been done away with.

I think oracle has been consistently adding value into the SOA stack and clearing out all that mess.

Best document to read

This document shows what was and what change and how it looks in 11