You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Kannan Thiagarajan <ka...@gmail.com> on 2013/02/05 21:32:05 UTC
Thread safety
Hello,
I'm just curious if 3.0 which is incubation is designed for
thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed
or tested for thread-safety.
--
Best Regards
Kannan Thiagarajan
Re: Thread safety
Posted by Kannan Thiagarajan <ka...@gmail.com>.
Thanks for the pointers. I will do some experimentation with this.
Best Regards
Kannan
On Fri, Feb 8, 2013 at 3:15 PM, Kim Ebert
<ki...@perfectsearchcorp.com>wrote:
> Hi Kannan,
>
> I've been able to run multiple instances inside of a single service(JVM
> instance) with this patch provided in CTAKES-151 to LVG. This doesn't allow
> me to run multiple threads on a single instance.
>
> https://issues.apache.org/jira/browse/CTAKES-151
>
> You may also want to see issue.
>
> https://issues.apache.org/jira/browse/CTAKES-149
>
> My testing has been against cTAKES 2.5.
>
> Thanks,
>
> Kim Ebert1.801.669.7342
> Perfect Search Corphttp://www.perfectsearchcorp.com/
>
>
> On 02/08/2013 01:33 PM, Chen, Pei wrote:
>
> Hi Kannan,
> current cTAKES wasn't designed to be thread safe. If you're planning to
> wrap it in a service, I would suggest limiting to a single pipeline per
> process. At least until it has been fully tested to allow
>
> Sent from my iPad
>
> On Feb 8, 2013, at 3:02 PM, "Kannan Thiagarajan" <ka...@gmail.com>
> wrote:
>
> Hello Karthik,
>
> Thanks for responding.
>
> I'm specifically interested in using the DrugNER and was going wrap it
> as a service and noticed the limitation.
>
> I'm fairly new to UIMA and cTAKES; so pardon my ignorance. Is this
> limitation due to some limitation within UIMA.
>
> Best Regards
> Kannan
>
>
>
>
>
>
> On Tue, Feb 5, 2013 at 2:33 PM, Karthik Sarma <ks...@ksarma.com> wrote:
>
>> It is not thread safe at the moment, though a few of us have been looking
>> into it
>>
>>
>>
>>
>>
>> --
>> Karthik Sarma
>> UCLA Medical Scientist Training Program Class of 20??
>> Member, UCLA Medical Imaging & Informatics Lab
>> Member, CA Delegation to the House of Delegates of the American Medical
>> Association
>> ksarma@ksarma.com
>> gchat: ksarma@gmail.com
>> linkedin: www.linkedin.com/in/ksarma
>>
>>
>> On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan <ka...@gmail.com>wrote:
>>
>>> Hello,
>>>
>>> I'm just curious if 3.0 which is incubation is designed for
>>> thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed
>>> or tested for thread-safety.
>>>
>>>
>>> --
>>> Best Regards
>>> Kannan Thiagarajan
>>>
>>>
>>
>
>
> --
> Best Regards
> Kannan Thiagarajan
>
>
--
Best Regards
Kannan Thiagarajan
Re: Thread safety
Posted by Kim Ebert <ki...@perfectsearchcorp.com>.
Hi Kannan,
I've been able to run multiple instances inside of a single service(JVM
instance) with this patch provided in CTAKES-151 to LVG. This doesn't
allow me to run multiple threads on a single instance.
https://issues.apache.org/jira/browse/CTAKES-151
You may also want to see issue.
https://issues.apache.org/jira/browse/CTAKES-149
My testing has been against cTAKES 2.5.
Thanks,
Kim Ebert
1.801.669.7342
Perfect Search Corp
http://www.perfectsearchcorp.com/
On 02/08/2013 01:33 PM, Chen, Pei wrote:
> Hi Kannan,
> current cTAKES wasn't designed to be thread safe. If you're planning
> to wrap it in a service, I would suggest limiting to a single pipeline
> per process. At least until it has been fully tested to allow
>
> Sent from my iPad
>
> On Feb 8, 2013, at 3:02 PM, "Kannan Thiagarajan" <kannanth@gmail.com
> <ma...@gmail.com>> wrote:
>
>> Hello Karthik,
>>
>> Thanks for responding.
>>
>> I'm specifically interested in using the DrugNER and was going wrap
>> it as a service and noticed the limitation.
>>
>> I'm fairly new to UIMA and cTAKES; so pardon my ignorance. Is this
>> limitation due to some limitation within UIMA.
>>
>> Best Regards
>> Kannan
>>
>>
>>
>>
>>
>>
>> On Tue, Feb 5, 2013 at 2:33 PM, Karthik Sarma <ksarma@ksarma.com
>> <ma...@ksarma.com>> wrote:
>>
>> It is not thread safe at the moment, though a few of us have been
>> looking into it
>>
>>
>>
>>
>>
>> --
>> Karthik Sarma
>> UCLA Medical Scientist Training Program Class of 20??
>> Member, UCLA Medical Imaging & Informatics Lab
>> Member, CA Delegation to the House of Delegates of the American
>> Medical Association
>> ksarma@ksarma.com <ma...@ksarma.com>
>> gchat: ksarma@gmail.com <ma...@gmail.com>
>> linkedin: www.linkedin.com/in/ksarma
>> <http://www.linkedin.com/in/ksarma>
>>
>>
>> On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan
>> <kannanth@gmail.com <ma...@gmail.com>> wrote:
>>
>> Hello,
>>
>> I'm just curious if 3.0 which is incubation is designed for
>> thread-safety.In looking at cTAKES 2.5 - its clear that it is
>> not designed or tested for thread-safety.
>>
>>
>> --
>> Best Regards
>> Kannan Thiagarajan
>>
>>
>>
>>
>>
>> --
>> Best Regards
>> Kannan Thiagarajan
>>
Re: Thread safety
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Hi Kannan,
current cTAKES wasn't designed to be thread safe. If you're planning to wrap it in a service, I would suggest limiting to a single pipeline per process and scaling out with multiple pipelines. At least until the individual components has been fully tested to allow multiple threads.
-Pei
Sent from my iPad
On Feb 8, 2013, at 3:33 PM, "Chen, Pei" <Pe...@childrens.harvard.edu>> wrote:
Hi Kannan,
current cTAKES wasn't designed to be thread safe. If you're planning to wrap it in a service, I would suggest limiting to a single pipeline per process. At least until it has been fully tested to allow
Sent from my iPad
On Feb 8, 2013, at 3:02 PM, "Kannan Thiagarajan" <ka...@gmail.com>> wrote:
Hello Karthik,
Thanks for responding.
I'm specifically interested in using the DrugNER and was going wrap it as a service and noticed the limitation.
I'm fairly new to UIMA and cTAKES; so pardon my ignorance. Is this limitation due to some limitation within UIMA.
Best Regards
Kannan
On Tue, Feb 5, 2013 at 2:33 PM, Karthik Sarma <ks...@ksarma.com>> wrote:
It is not thread safe at the moment, though a few of us have been looking into it
--
Karthik Sarma
UCLA Medical Scientist Training Program Class of 20??
Member, UCLA Medical Imaging & Informatics Lab
Member, CA Delegation to the House of Delegates of the American Medical Association
ksarma@ksarma.com<ma...@ksarma.com>
gchat: ksarma@gmail.com<ma...@gmail.com>
linkedin: www.linkedin.com/in/ksarma<http://www.linkedin.com/in/ksarma>
On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan <ka...@gmail.com>> wrote:
Hello,
I'm just curious if 3.0 which is incubation is designed for thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed or tested for thread-safety.
--
Best Regards
Kannan Thiagarajan
--
Best Regards
Kannan Thiagarajan
Re: Thread safety
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Hi Kannan,
current cTAKES wasn't designed to be thread safe. If you're planning to wrap it in a service, I would suggest limiting to a single pipeline per process. At least until it has been fully tested to allow
Sent from my iPad
On Feb 8, 2013, at 3:02 PM, "Kannan Thiagarajan" <ka...@gmail.com>> wrote:
Hello Karthik,
Thanks for responding.
I'm specifically interested in using the DrugNER and was going wrap it as a service and noticed the limitation.
I'm fairly new to UIMA and cTAKES; so pardon my ignorance. Is this limitation due to some limitation within UIMA.
Best Regards
Kannan
On Tue, Feb 5, 2013 at 2:33 PM, Karthik Sarma <ks...@ksarma.com>> wrote:
It is not thread safe at the moment, though a few of us have been looking into it
--
Karthik Sarma
UCLA Medical Scientist Training Program Class of 20??
Member, UCLA Medical Imaging & Informatics Lab
Member, CA Delegation to the House of Delegates of the American Medical Association
ksarma@ksarma.com<ma...@ksarma.com>
gchat: ksarma@gmail.com<ma...@gmail.com>
linkedin: www.linkedin.com/in/ksarma<http://www.linkedin.com/in/ksarma>
On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan <ka...@gmail.com>> wrote:
Hello,
I'm just curious if 3.0 which is incubation is designed for thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed or tested for thread-safety.
--
Best Regards
Kannan Thiagarajan
--
Best Regards
Kannan Thiagarajan
Re: Thread safety
Posted by Kannan Thiagarajan <ka...@gmail.com>.
Hello Karthik,
Thanks for responding.
I'm specifically interested in using the DrugNER and was going wrap it as a
service and noticed the limitation.
I'm fairly new to UIMA and cTAKES; so pardon my ignorance. Is this
limitation due to some limitation within UIMA.
Best Regards
Kannan
On Tue, Feb 5, 2013 at 2:33 PM, Karthik Sarma <ks...@ksarma.com> wrote:
> It is not thread safe at the moment, though a few of us have been looking
> into it
>
>
>
>
>
> --
> Karthik Sarma
> UCLA Medical Scientist Training Program Class of 20??
> Member, UCLA Medical Imaging & Informatics Lab
> Member, CA Delegation to the House of Delegates of the American Medical
> Association
> ksarma@ksarma.com
> gchat: ksarma@gmail.com
> linkedin: www.linkedin.com/in/ksarma
>
>
> On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan <ka...@gmail.com>wrote:
>
>> Hello,
>>
>> I'm just curious if 3.0 which is incubation is designed for
>> thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed
>> or tested for thread-safety.
>>
>>
>> --
>> Best Regards
>> Kannan Thiagarajan
>>
>>
>
--
Best Regards
Kannan Thiagarajan
Re: Thread safety
Posted by Karthik Sarma <ks...@ksarma.com>.
It is not thread safe at the moment, though a few of us have been looking
into it
--
Karthik Sarma
UCLA Medical Scientist Training Program Class of 20??
Member, UCLA Medical Imaging & Informatics Lab
Member, CA Delegation to the House of Delegates of the American Medical
Association
ksarma@ksarma.com
gchat: ksarma@gmail.com
linkedin: www.linkedin.com/in/ksarma
On Tue, Feb 5, 2013 at 12:32 PM, Kannan Thiagarajan <ka...@gmail.com>wrote:
> Hello,
>
> I'm just curious if 3.0 which is incubation is designed for
> thread-safety.In looking at cTAKES 2.5 - its clear that it is not designed
> or tested for thread-safety.
>
>
> --
> Best Regards
> Kannan Thiagarajan
>
>