[omniORB] Re: CONNECTION MANAGEMENT

Jorge Garcia soft@mabyc.com
Wed, 02 Feb 2000 23:57:48 +0100


on Mon Jan 31 2000  David Riddoch  wrote:

Hi,

Okay I've done two different solutions.

omniORB 3pre
------------
We allocate connections to threads when they become available, thus we
get
the best possible utilisation.

omniORB 2.8
-----------
When all the existing connections are busy and we can't create any new
ones, we allocate a connection at random. This should be an improvement
over the previous implementation, but won't always be as good as the
above. The reason I didn't use the same fix as above is that it changes
a
number of interfaces, and would break minor version number
compatibility.

You can merge the change from 3pre to 2.8 if you really need the best
allocation policy.

Cheers,
David

--------------------------------------------

Hi David and Haarek,

     I've selected the first solution and all works fine.

Thanks for your help.


Jorge Garcia

R&D Software Engineer
Mabyc, S.A.
Barcelona (Spain)