uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burn Lewis" <burnle...@gmail.com>
Subject Re: [jira] Commented: (UIMA-1196) Add support for binary serialization and deserialization in Uima AS
Date Wed, 08 Oct 2008 19:18:36 GMT
What should happen if a <serialzer method="binary"> is specified for a
delegate whose typesystem is not the same as the merged one, or is running
2.2.2 and doesn't support binary serialization?  Presumably we should fail
the deployment.  If the serialization method is not specified then we could
default to binary if all the conditions are satisfied, else xmi.  This would
let us gracefully add support for binary serialization of delta CASes and
parallel delegates when necessary.

On Wed, Oct 8, 2008 at 1:11 PM, Jerry Cwiklik (JIRA) <
uima-dev@incubator.apache.org> wrote:

>    [
> https://issues.apache.org/jira/browse/UIMA-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637988#action_12637988]
> Jerry Cwiklik commented on UIMA-1196:
> -------------------------------------
> While addressing binary serialization I need to determine the default
> serialization strategy for CASes destined for remote delegate. Binary
> serialization, although much faster than XMI has one serious problem. It
> requires that all uima AS services use a common type system. Also merge is
> not yet supported for binary serialization as well as delta CAS. It seems
> that XMI, albeit slower, is a better choice as a default serialization
> strategy.  Comments?
> > 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
> >
> > 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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message