Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E7A3D6FE for ; Fri, 12 Oct 2012 13:35:19 +0000 (UTC) Received: (qmail 47180 invoked by uid 500); 12 Oct 2012 13:35:18 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 47003 invoked by uid 500); 12 Oct 2012 13:35:17 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 46979 invoked by uid 99); 12 Oct 2012 13:35:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 13:35:16 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.17.8] (HELO moutng.kundenserver.de) (212.227.17.8) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 13:35:10 +0000 Received: from oc101.ontochem.intra ([217.16.162.150]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LiUtY-1TutCp32Am-00dHjQ; Fri, 12 Oct 2012 15:34:35 +0200 Message-ID: <50781C6B.9090005@ontochem.com> Date: Fri, 12 Oct 2012 15:34:35 +0200 From: Timo Boehme User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120825 Thunderbird/15.0 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Parallel CAS consumer References: <50754754.7050801@ontochem.com> <50754AB6.1010904@ontochem.com> <50758686.4000603@ontochem.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:Yqpscx1q3/+KSFU/XkREZUMGDRe9RPJz4YbZIKjzba4 byKDdI6AX6Y1DErF7nSATRnFrYym9Ono3l23jduuFEphNu9L46 PJ7skzYn54dG8IBRebP8K1zbmVQjC31iEpfohB9KMdSBThBhHG ELBfVWXrR95j46gDrUKYScdnJJaA2+u45vuoP5QLBXD4ngssHN qG4K0uq1fzBjJP6F4qvUt3ejgNu8ENaRdnhkZk5nhiuHmWqPgX tXQCoOdxojL6T/1KbTRzMpGVeCdQVVbyyp8ZXJewj6S9y2iWxI zHYAenBMLrZzdVduBGM2TddKGQtWKuNBVog2NgoZQjAl0RlVeU 4eIv8hlF78jrBLiadH4mzcB3++smxOZ8LPlOjg3di X-Virus-Checked: Checked by ClamAV on apache.org Am 12.10.2012 15:26, schrieb Eddie Epstein: > On Wed, Oct 10, 2012 at 10:30 AM, Timo Boehme wrote: >> This is exactly the solution I was thinking about. However I haven't used >> UIMA-AS so far since we do not split processing over multiple machines but >> use a multi-core server. Thus I don't want to set up a resource consuming >> service infrastructure with slow socket communication but would like to run >> it in the same Java VM. >> Now it's not clear to me if this is nevertheless possible with UIMA-AS ("... >> in the same process")? > > The second alternative described earlier would run the two annotators > in parallel in the same process. Again, the idea is to use a Cas > multiplier to make a copy of the CAS and then use a flow controller to > send the two CASes in parallel to the two annotators. Thank you for the answer. I will give it a try. I wasn't sure if using a CAS multiplier will run the following annotators for the different CASes in different threads - or is it the flow controller which has to do the treading (?) - I will dig a bit deeper into the API to find out how this works. Thanks again. Timo -- Timo Boehme OntoChem GmbH H.-Damerow-Str. 4 06120 Halle/Saale T: +49 345 4780474 F: +49 345 4780471 timo.boehme@ontochem.com _____________________________________________________________________ OntoChem GmbH Gesch�ftsf�hrer: Dr. Lutz Weber Sitz: Halle / Saale Registergericht: Stendal Registernummer: HRB 215461 _____________________________________________________________________