[omniORB] Thread per method

Duncan Grisby dgrisby@uk.research.att.com
Thu, 18 Jan 2001 12:37:47 +0000


On Tuesday 16 January, Rob van der Leek wrote:

> 1. Client1 -- push(event) --> EventChannel --- push(event) --> Server
> 
> 2. Server incarnates an object factory, the server's push handler
> creates a new object and calls some methods on that object. The method
> invocations take some time to complete.
> 
> 3. Client2 -- push(event) --> EventChannel --- push(event) --> Server
> 
> 4. Now Client2 has to wait for the push handler to return (since the ORB
> controlled thread policy in OmniORB is implemented as thread-per-object,
> and there's only one server object).

omniORB's thread policy is not thread per object. It is thread per
connection. The EventChannel should open a new connection, so the
server will use a different thread.

Are you actually seeing a problem, or do you just suspect that there
might be one?

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --