Corba sequence<octet> a lot slower than using a socket
- by Totonga
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.