Re: Problems with orbeline

Jayakumar Muthukumarasamy ([email protected])
Mon, 30 Jan 1995 14:13:46 -0500 (EST)

>
>
> I looked at the published timings for Orbix, and it is obvious that it is much
> much more efficient to send sequences in one swoop than to have a client
> request each element through an iterator. I propose to add to our guidelines
> the following:

This is dependent on the number of elements in the sequence. But,
for a large number of elements, sequences will be more efficient. However,
the real efficiency comes when we use structures instead of interfaces.
When we use interfaces with sequences, only object-ids are shipped. To
get to the data, one needs to access the server again. In the case of
structures however, entire structures are shipped along with the sequence
and the real efficiency comes here. As I can now understand, IDL specs
are meant to use more structures with interfaces being humongous.
i.e. interfaces are not meant to be small objects as it is the case
in C++. A typical design would look more like C, with methods encapsulated
inside interfaces.

>
> Each multi-valued attribute provides an xxx_sequence method that returns a
> sequence of all the elements.
>
> BTW, did you figure out what is wrong with your version of Orbeline.

The problem is no longer there. I am planning to run some tests
anyway to confirm our understanding.

>
> Also, I think that the your messages are not getting to Ewald because his
> email is Salcher, not ewald.

Sorry, Ewald. I have changed it now, so you should be getting
e-mails properly from now on.

-jk