uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedict Holland <benedict.m.holl...@gmail.com>
Subject Re: UIMA AS threading question
Date Fri, 22 Dec 2017 15:43:13 GMT
I am very interested in this as well.

Do you happen to have N threads running in a pool and N CAS instantiated
objects? I admit though, I have very little experience with the Async
engine.

Thanks,
~Ben

On Fri, Dec 22, 2017 at 8:23 AM, Matthias Koch <matthias.koch@averbis.com>
wrote:

> Hi
>
> We noticed that UIMA AS does not scale with multiple threads as expected.
>
> Digging further into the problem we noticed two places which are executed
> by at most one thread at a time:
> - BaseUIMAAsynchronousEngineCommon_impl.sendCAS()
> - BaseMessageSender.run()
> We are using one UimaAsynchronousEngine per endpointName, thus serializing
> and sending a message will only be done one at a time,
> no matter how many instances of this analysisEngines we have running under
> this endpointName.
>
> How can we improve on this?
> Can we just pool the UimaAsynchronousEngines?
> Can we do better than just calling UimaAsynchronousEngine.sendAnd
> ReceiveCAS()?
>
> Sincerely,
> Matthias
>
> --
> Matthias Koch
>
> Averbis GmbH
> Tennenbacher Str. 11
> 79106 Freiburg
> Germany
>
> Fon: +49 761 708 394 0
> Fax: +49 761 708 394 10
> Email: matthias.koch@averbis.com
> Web: https://averbis.com
>
> Headquarters: Freiburg im Breisgau
> Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
> Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó
>
>

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