Re: multiple client connections



On Thu, Sep 19, 2002 at 01:10:15PM +0100, Michael Meeks wrote:
> 	As long as the other client is finished ? - or until the other client
> is finished ?

Yes, the second client has to wait until the first client is finished. I
have just discovered that this is only true for local connections. If
both clients are remote, they can work simultainously.

> has some method like 'Sleep1000' on it, and it's executing this that
> blocks the ORB from responding to the incoming request.

Not a bad guess. The created object does a database query and some
processing on the result. It returns a result set, which takes some
time.

> probably the best is asynchronous I/O for the blocking method, another

Do you refer to the orbit-event-server? Sounds interesting.

> is to use threads by using ORBit-mt.

So each created object has its own thread? I will take a look at
ORBit-mt. 

Thanks for your fast answer.

  Rolf

-- 
Rolf Herzog | her@gmx.de                     | HP: www.culthea.de
Duisburg    | herzog@falkag.de               | 
Germany     | "Ohne Reproduktion gaebe es keine Originale"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]