uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Updated: (UIMA-1196) Add support for binary serialization and deserialization in Uima AS
Date Thu, 09 Oct 2008 19:38:46 GMT

     [ https://issues.apache.org/jira/browse/UIMA-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jerry Cwiklik updated UIMA-1196:
--------------------------------

    Attachment: uimaj-as-jms-UIMA-1196-patch.txt
                uimaj-as-core-UIMA-1196-patch.txt
                uimaj-as-activemq-UIMA-1196-patch.txt

Modified UIMA AS code to use binary serialization and deserialization for remote delegates.
The strategy for the serialization for each remote delegate is defined in the deployment descriptor
as either "xmi" or "binary". In case where the serialization is not specified in the deployment
descriptor the default is "xmi". The Uima AS client application may specify the type of serialization
to be used by adding a new property in the context map as follows:

    appCtx.put(UimaAsynchronousEngine.SerializationStrategy,"binary" );

This will configure the UIMA AS client code to send CASes in binary instead of XMI. The service
receiving binary CAS will reply to the client with binary CAS. The binary CAS is added as
cargo to the JMS BytesMessage.


> Add support for binary serialization and deserialization in Uima AS
> -------------------------------------------------------------------
>
>                 Key: UIMA-1196
>                 URL: https://issues.apache.org/jira/browse/UIMA-1196
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: uimaj-as-activemq-UIMA-1196-patch.txt, uimaj-as-core-UIMA-1196-patch.txt,
uimaj-as-jms-UIMA-1196-patch.txt
>
>
> Uima AS needs faster serialization and deserialization logic for CASes destined for remote
delegates. XMI serialization introduces a significant overhead. Modify Uima AS Serializer
to use existing binary Serializer and Deserializer from Uima Core. Modify code that creates
outbound jms messages to carry binary cargo instead of a String. Modify inbound code to recognize
binary cargo and deserialize CAS using binary serialization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message