From dev-return-2982-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Mon Jan 7 22:53:30 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 09ACA180647 for ; Mon, 7 Jan 2019 22:53:29 +0100 (CET) Received: (qmail 7018 invoked by uid 500); 7 Jan 2019 21:53:29 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 7001 invoked by uid 99); 7 Jan 2019 21:53:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2019 21:53:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E43B6180EC7 for ; Mon, 7 Jan 2019 21:53:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.702 X-Spam-Level: X-Spam-Status: No, score=-0.702 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jPDlcdCRvasM for ; Mon, 7 Jan 2019 21:53:26 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 84A2161136 for ; Mon, 7 Jan 2019 21:53:26 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 15353230F8 for ; Mon, 7 Jan 2019 16:53:26 -0500 (EST) Received: from web1 ([10.202.2.211]) by compute2.internal (MEProxy); Mon, 07 Jan 2019 16:53:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=pqKvJ9gtLxD2wt61CYi1SBbmCH90Xg78E0prAapDJ bw=; b=zXQJpf0kSW068joOPXTi7bqNNESNJS346ow0u9TLhm+xu1KImMHZFIZpr ltpLOOoGFXBuI8FMpBytprZT+KJyBsWcIv8JNZg/YYlEyHx9z+TvwnslVabBhhH+ yZKHtioQIimmDF6Mck8gVADuqqLB73NmHR9ttJgJ9U/ChaD4KShp/0BIf09puAPI X9JdiUwzVeLdfglRXM9yxsxMJjSsYv8a2k5dnT2vfEBXT7hy1Cna2Y0lmsR1O0cp JlPoD8nm1lUm4G2ydx9T3E7F+tbJV+xEDrp729YXcpAmnBbCnxMpxZfK9CSAbmLF zXpXIPmY0a8gT/q8yJk+9jZLB1LMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvdejgdduhedvucdltddurdegtdekrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhht necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefkhffvggfgtgfojghffffusehtjeertdertdejnecuhfhrohhmpefoihgt hhgvlhgvucfutghirggsrghrrhgruceomhhitghhvghlvgesshgtihgrsggrrhhrrgdrtg homheqnecuffhomhgrihhnpehgihhthhhusgdrihhonecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmihgthhgvlhgvsehstghirggsrghrrhgrrdgtohhmnecuvehluhhsthgvrhfuih iivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 9E0B1942D1; Mon, 7 Jan 2019 16:53:25 -0500 (EST) Message-Id: <1546898005.3464596.1628160440.580233D4@webmail.messagingengine.com> From: Michele Sciabarra To: dev@openwhisk.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-fc1a05a6 In-Reply-To: References: <1546884505.2730188.1627932976.3093A223@webmail.messagingengine.com> Date: Mon, 07 Jan 2019 22:53:25 +0100 Subject: Re: Proposal for "fixing" the Java Runtime The slowdown in the init is because my PoC so far also compiles the source, I am sending a .java not a .jar. My plan is to implement also the precompilation as in Go. -- Michele Sciabarra michele@sciabarra.com ----- Original message ----- From: David P Grove To: dev@openwhisk.apache.org Subject: Re: Proposal for "fixing" the Java Runtime Date: Mon, 7 Jan 2019 16:35:01 -0500 Michele Sciabarra wrote on 01/07/2019 01:08:25 PM: > > I benchmarked the java runtime, here: > > https://sciabarracom.github.io/incubator-openwhisk-runtime-actionloop/ > > As you can see the openwhisk/javaaction is pretty slow. Not sure > why... So I did a proof of concept to see how much I can improve. > Actually, a lot, as you can see the actionloop/java8, bringing the > runtime on par with the others using action loop. > > The actionloop/java8 is only a PoC, it runs the hello.java but I did > not run the tests. If the proposal is accepted I will work to make > sue it passes all the tests of the current java runtime. Then I have > in mind a lot of extensions, supporting java 11, providing the > ability to compile sources, download dependencies, compile also > scala and kotlin... > > But let do things in order. It the community ok that I contribute an > actionloop based java runtime? Hi Michele, No objections to speeding up Java from me :) The gain in /run is impressive. I do think we should try to understand why there is a slowdown in /init and attempt to mitigate it (since a cold start will do both /init and /run). --dave