Corba sequence<octet> a lot slower than using a socket

Posted by Totonga on Stack Overflow See other posts from Stack Overflow or by Totonga
Published on 2009-07-03T14:04:32Z Indexed on 2010/04/02 9:03 UTC
Read the original article Hit count: 273

Filed under:
|
|

I have a corba releated question.

In my Java app I use typedef sequence Data;

Now I played around with this Data vector. If I am right with the Corba specification sequence will either be converted to xs:base64Binary or xs:hexBinary. It should be an Opaque type and so it should not use any marshalling.

I tried different idl styles:

void Get(out Data d);
Data Get();

but what I see is that moving the data using Corba is a lot slower than using a socket directly. I am fine with a little overhead but it looks for me like tha data is still marshalled.

Do I need to somehow configure my orb to suppress the marshalling or did I miss something.

© Stack Overflow or respective owner

Related posts about corba

Related posts about streaming