Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4F6B3200CD7 for ; Tue, 1 Aug 2017 16:39:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4DAF6167441; Tue, 1 Aug 2017 14:39:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9379716743E for ; Tue, 1 Aug 2017 16:39:24 +0200 (CEST) Received: (qmail 7118 invoked by uid 500); 1 Aug 2017 14:39:21 -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 7106 invoked by uid 99); 1 Aug 2017 14:39:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2017 14:39:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C781EC134A for ; Tue, 1 Aug 2017 14:39:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id c0S3bCFeYzNO for ; Tue, 1 Aug 2017 14:39:18 +0000 (UTC) Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com [209.85.217.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 973745F522 for ; Tue, 1 Aug 2017 14:39:18 +0000 (UTC) Received: by mail-ua0-f172.google.com with SMTP id q25so7954975uah.1 for ; Tue, 01 Aug 2017 07:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=41a/jNW1E5ZO8ectWAERzvVpxMGNSzCaDwOZ5Jo/ccY=; b=pOaxZRlbwp/Fbpx01OFzPlB1liXK1r4DOyGsbrJhX2WFFOVR+DGntEooZ7ke6TRYLI LXFBSU7AgRGK4FwYFNC4lIU0JXrbsgOLuTwIyu3HbdVX63bBV4lb8SnV7sHZpym4Msrf u00SXb2Jh2InwW/Vr4XxjTHHcA/cZeU/FNJeyPEGjSL55Cjj//JtpJE3Ks/fX1RFku+J 5jtf9S862b+5lfadlNcKXvjLnOlIed69DV1kB9XdB3tsZsLntBkq8epZmW9RBaw8Tri8 4n419s1WE+ed8qM20O8P5Aed1Y8HaWYkFHXVBUVYDKyYN72vmG68u4bemnkNf3eyuWVF 5nww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=41a/jNW1E5ZO8ectWAERzvVpxMGNSzCaDwOZ5Jo/ccY=; b=Icqe01ZeFEIgrYO6JtXB7i/OCKMAHLoNwB/ZnYR/RMk5hS6C/lrIHozWkUDheqYnVP s2/rdFRcX3T4EmFAuchdMZSyEzHKFqAhAiUilsdVeg90FOADmvfFhlUz3P0Y9+H0O8md PRDr1x1PqY3BRIe14wB0sbyGxH8VgaQDpy1YEKGxru7ua9Tvz0dRQRWL6o+3Xb1hg+BU NVV3wiBTFhcQYHnGmqpHoJe0iMkFQm8do9QiOa/RTQI3Vl3fMT2dwcYZjDZhrGWTd0xs cEjphlSHRWAFJDqGLjDLkFaOO6bqNwS/JHYT3pW0q9ZEnU8H34cVZQOgKN5Q4CH0m4n0 6zQQ== X-Gm-Message-State: AIVw1103PMF3mvfb+zeqJ3dO14uiF5LXtK4+ZCNYIT7PoNsZtJcg9HN6 AaJSdxPPIJX+n2X8MApV3vUhgmnMqA== X-Received: by 10.176.84.221 with SMTP id q29mr12019074uaa.173.1501598351889; Tue, 01 Aug 2017 07:39:11 -0700 (PDT) MIME-Version: 1.0 Sender: uimaee@gmail.com Received: by 10.159.37.231 with HTTP; Tue, 1 Aug 2017 07:39:11 -0700 (PDT) In-Reply-To: References: From: Jaroslaw Cwiklik Date: Tue, 1 Aug 2017 10:39:11 -0400 X-Google-Sender-Auth: WtnFT3Q6Q_AfgnYvUAZLW9vLFXQ Message-ID: Subject: Re: Overhead in running UIMA Asynchronous Scaleout To: user@uima.apache.org Content-Type: multipart/alternative; boundary="94eb2c1b10ce5c19b00555b21cea" archived-at: Tue, 01 Aug 2017 14:39:25 -0000 --94eb2c1b10ce5c19b00555b21cea Content-Type: text/plain; charset="UTF-8" Do you deploy both the uima-as client and a service in the same process? How do you get your timing? There is a CAS serialization/deserialization penalty and latency in a broker but should not be huge. The design goal is to support scaleout of analytics across multiple processes on multiple machines. For maximum performance we recommend sending a CAS with a reference to data to be analyzed instead of sending data in the CAS. How big is the CAS you are sending from the client? If you are using a default FC, there should be no significant delay there. Jerry On Mon, Jul 31, 2017 at 5:01 AM, ajay kumar wrote: > Hello, > I am trying to compare the runtimes for pipelines running locally and > pipelines using UIMA AS. > I have a setup of each annotators in a pipeline running on different cores. > It shows from the results pipelines in UIMA AS takes around 4seconds to > complete processing which is a huge delay compared to local pipelines. I > wanted to know how much delay is induced from the flow controller > forwarding each CAS and the reply queues. > --94eb2c1b10ce5c19b00555b21cea--