On Fri, Jan 29, 2010 at 5:07 PM, Marshall Schor <[email protected]> wrote: > > > Greg Holmberg wrote: >> Hi UIMA users-- >> >> I see in the README for 2.3 that UIMA-AS uses a new, efficient binary >> serialization for remote services. >> >> I couldn't find much information about it in the Async Scaleout docs. >> It was briefly mentioned as a configuration option, but not described. >> >> Is this the same format that is used to serialize to C++? > > I believe it's similar but not exactly the same.
The data format is the same for Java and C++, supports either byte order and relies on the recipient to swap if necessary. However, the service wrapper for UIMACPP does not currently support binary serialization because the CPP framework does not generate binary typecodes identical to Java given same input type system descriptions. Should not be a large amount of work to fix this. I believe ActiveMQ supports message compression to help with network bandwidth. Another thing that would help some applications is implementing CAS projections, where only the parts of the CAS specified by a service AE descriptor would be sent. Eddie
