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 8F67ED019 for ; Wed, 10 Oct 2012 10:16:00 +0000 (UTC) Received: (qmail 41036 invoked by uid 500); 10 Oct 2012 10:15:59 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 40862 invoked by uid 500); 10 Oct 2012 10:15:59 -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 40825 invoked by uid 99); 10 Oct 2012 10:15:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 10:15:58 +0000 X-ASF-Spam-Status: No, hits=1.9 required=5.0 tests=RCVD_IN_DNSWL_NONE,RCVD_IN_RP_RNBL,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.17.9] (HELO moutng.kundenserver.de) (212.227.17.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 10:15:51 +0000 Received: from oc101.ontochem.intra ([217.16.162.150]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MNO5B-1TJQTe0ed7-006lYO; Wed, 10 Oct 2012 12:15:19 +0200 Message-ID: <50754AB6.1010904@ontochem.com> Date: Wed, 10 Oct 2012 12:15:18 +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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:qpu1/4x6QTw3QDj2KXtOWrQyqbZtNauQYqbwUb8j11O 1gE0WqSZ/QceEHDbSGFbAwBas3RWWm3ML+pOUg1sTPJvSV20qX mrI/2qFHLzHAkkhnyIlranHXr11pChsr1oevtYubAS2yhTI/yq hvtfXFeVn+Hfek2B1nZBFG00sZrsitFBRxLpY/Ve40XHatGU7K pjRbbMRRkJu0Awh3neefpYZMg4FelW76YBub2fPin7MOX10x7L NpyBS2AN/wlXWc5xCxU9DuIgkrQ9/LRz6y7KjO+ySn1MF0mCHn RwGYIr1IVMUAzPQXevQ8RPFLGBp2ewi11/dGQRFbJ3T1+xra9J rmI5n0l0pfa0uyWOFvTWXptq8PrZKWgG9GMbXjv7G X-Virus-Checked: Checked by ClamAV on apache.org Hi, Am 10.10.2012 12:05, schrieb Richard Eckart de Castilho: > the main difference between CAS consumers and analysis engines is > that the former be default run only a single instance and the latter > can be multiplied. If your consumer code can be run in parallel, just > try inheriting from AnalysisEngine_ImplBase (or something like that) > instead. Thanks for your answer. However each single consumer must run as single instance (e.g. one database consumer, one consumer writing to a file; each of them need to run as single instance). Thus I would like to have a single instance per consumer but the different consumer to run in parallel. Kind regards, Timo > Am 10.10.2012 um 12:00 schrieb Timo Boehme > : > >> Hi, >> >> is there any possibility without using UIMA-AS to run different CAS consumer components of a pipeline in parallel? >> The standard behavior is that the consumer are called in sequence, but since in my case they don't depend on each other it would be more efficient to have them run in parallel. Can I use CAS multiplier + Flow control to achieve this? >> >> >> Thanks, >> Timo >> >> -- >> >> Timo Boehme >> OntoChem GmbH >> H.-Damerow-Str. 4 >> 06120 Halle/Saale >> T: +49 345 4780474 >> F: +49 345 4780471 >> timo.boehme@ontochem.com > > -- 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 _____________________________________________________________________