uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Patry <alexandre.pa...@keatext.com>
Subject Re: sendCAS is slow
Date Wed, 24 Sep 2014 13:44:39 GMT
Did you get an error message or a stack trace?

On 24/09/2014 09:38, xym210 wrote:
> it doesn't work, when I deploy the collectionReader and the AE 
> colocated, it doesn't work either, is there something i misunderstood, 
> thanks.
>
> -- 
> 发自 Android 网易邮箱
>
>
> 在2014年09月23日 20:57, Alexandre Patry 
> <mailto:alexandre.patry@keatext.com>写 道:
>
> Did you try to use binary serialisation instead of XML serialisation for
> the CAS?
>
> For more information on binary serialisation, you can search for the
> word "binary" in the UIMA-AS user guide
> ( http://uima.apache.org/d/uima-as-2.6.0/uima_async_scaleout.html).
>
> Hope this help,
>
> Alexandre
>
> On 23/09/2014 03:16, xia yongmin wrote:
> > hi,
> >
> > I am a new one in uima, and i meet a problem as follow:
> >
> > Supposing I have a CollectionReader, an AE and a Cas Consumer,
> >
> > it tooks 1ms for CollectionReader to initialize a cas, 5ms for AE to 
> analyze,
> > and 1ms for Cas Consumer to consume the cas.
> >
> > it seems that I can deploy 5 instances of AE to get five times speed.
> >
> > but when I deploy 3 instances of AE, it doesn't improve the speed.
> >
> > And I found that it took a long time for the UIMA to send a cas from
> > CollectionReader to AE using sendCAS(cas) method.
> >
> > how can I solve this problem?
> >
> > many thanks.
> >
>
>
> -- 
> Alexandre Patry, Ph.D
> Chercheur Principal / Principal Researcher
> http://KeaText.com
>


-- 
Alexandre Patry, Ph.D
Chercheur Principal / Principal Researcher
http://KeaText.com


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