uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: UimaAS blocks when accessing a queue with multiple clients concurrently
Date Tue, 07 Dec 2010 21:54:19 GMT
2010/12/7 Dietmar Gräbner <d.graebner@gmail.com>:
> I wrote a test client creating multiple threads. Each thread
> instantiates a BaseUIMAAsynchronousEngine_impl and invokes a uima
> aggregate with the sendAndReceiveCAS() call. When running the program
> with e.g. 100 Threads the client gets stuck after processing X calls.

FWIW, a similar multithreaded client scenario that has been used with
no problems is to instantiate a single BaseUIMAAsynchronousEngine_impl
with big enough casPool and have each thread call sendAndReceiveCAS()
using the common API object.


View raw message