[omniORB] Two orbs in the same process

Attila Pletyak attila.pletyak@anemo.com
01 Mar 2002 19:37:14 +0100


We have a quite big distributed app, where web servers receive requests
in CGI programs. The first request is a login request, where we say to
the back-end to create a module handling request. The other requests are
served by the created module.=20

The load is big. It happens that more than 1 million requests (login and
others) should be served in one hour. Our customer required that the
login should not take longer than 1 minute, but anyway, we want the
module to be created. So after timeout, we wanted to give the task to a
background thread which can wait longer, in the meantime a "default"
module handling the requests.

That's why I wanted to achieve a different timeout in a different
thread.=20

Sincerely,

Attila Pletyak
Anemo Ltd.

2002-03-01, p keltez=E9ssel Duncan Grisby ezt =EDrta:
> On Wednesday 27 February, Attila Pletyak wrote:
>=20
> > Is it possible to create two different ORBs in the same process, both
> > having their own clientCallTimeout set differently?
>=20
> No. The CORBA spec permits a CORBA implementation to support multiple
> ORBs in a single process, but it does not require it. omniORB only
> supports a single ORB.
>=20
> Regardless, I don't think using a different ORB would be what you
> would want. Object references obtained from one ORB would not be valid
> to the other ORB.
>=20
> What exactly are you trying to do?  It would be very easy to add
> support for per-thread timeouts to omniORB 4, if that's what you need.
>=20
> Cheers,
>=20
> Duncan.
>=20
> --=20
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --