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