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 1F51F200B81 for ; Wed, 14 Sep 2016 00:02:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E171160AD2; Tue, 13 Sep 2016 22:02: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 67F83160AD8 for ; Wed, 14 Sep 2016 00:02:24 +0200 (CEST) Received: (qmail 17584 invoked by uid 500); 13 Sep 2016 22:02:23 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 17572 invoked by uid 99); 13 Sep 2016 22:02:23 -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, 13 Sep 2016 22:02:23 +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 2F9A4CED42 for ; Tue, 13 Sep 2016 22:02:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.144 X-Spam-Level: X-Spam-Status: No, score=-5.144 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.124] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dPqis_gNNLWy for ; Tue, 13 Sep 2016 22:02:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 95D265F30B for ; Tue, 13 Sep 2016 22:02:21 +0000 (UTC) Received: (qmail 16655 invoked by uid 99); 13 Sep 2016 22:02:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 22:02:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9DE6B2C1B80 for ; Tue, 13 Sep 2016 22:02:20 +0000 (UTC) Date: Tue, 13 Sep 2016 22:02:20 +0000 (UTC) From: "Thomas Weise (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXMALHAR-2205) State management benchmark MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 22:02:25 -0000 [ https://issues.apache.org/jira/browse/APEXMALHAR-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488580#comment-15488580 ] Thomas Weise commented on APEXMALHAR-2205: ------------------------------------------ The store operator only does a put. Update would be get/do-something/put. Please just add comments to the JIRA vs. updating description, it is easier to follow. > State management benchmark > -------------------------- > > Key: APEXMALHAR-2205 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2205 > Project: Apache Apex Malhar > Issue Type: Task > Reporter: bright chen > Assignee: bright chen > Attachments: ManagedStateBenchmark.png > > > The key was generated by following forum: > (timestamp - timestamp % range) + random.nextInt(range) > where the default value of range is 60k(1 minute). > With the default "range" value, the key will have the same prefix in one minute. And the process rate is around 40k/s ( namely 2400k/m ). And the key range is 60k, so roughly 40 operation for each key by average ( namely 1 insertion and another 39 update ). > Following is the benchmark result: The highest is around 40K/s and lowest is around 28k/s, average is around 35.5k/s > See attached "ManagedStateBenchmark.png" for screen shot -- This message was sent by Atlassian JIRA (v6.3.4#6332)