From dev-return-1452-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Mon Feb 12 12:57:08 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 5DBD8180652 for ; Mon, 12 Feb 2018 12:57:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4DDF4160C3F; Mon, 12 Feb 2018 11:57:08 +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 94078160C31 for ; Mon, 12 Feb 2018 12:57:07 +0100 (CET) Received: (qmail 4603 invoked by uid 500); 12 Feb 2018 11:57:06 -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 4582 invoked by uid 99); 12 Feb 2018 11:57:06 -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; Mon, 12 Feb 2018 11:57:06 +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 77FCCC2174 for ; Mon, 12 Feb 2018 11:57:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 iOzDCGx9wLDA for ; Mon, 12 Feb 2018 11:57:01 +0000 (UTC) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6FE9B5F6C8 for ; Mon, 12 Feb 2018 11:57:01 +0000 (UTC) Received: by mail-vk0-f45.google.com with SMTP id j204so8623727vke.12 for ; Mon, 12 Feb 2018 03:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7lxnpXiK0E5lu0xHwba+QLJ06lCzLXZObqMGuW1vJGo=; b=ndEA76jAzvEZ5Ejjovt6uAiTrc+0Swexk43pzxvaLcshr4S/cAnkI6HAxWsK3GRGYH z9ANyQihZv0QOzqOphE5V7YbRncrGtDxHtKnU8zxLvOJq/NDR7R99vqo/F20xadYEz66 1Zlb3wBPhhvu4FljpirD8DZysEjF9/wmLE+lg0KNNV/XWMqSfkBUxEOI8l9w27ga8zIC f8x91sFPzmg5LNY3AvIcUZKDTTaeaYArKqGuTmsUapo1S7cuHHlVRPyv88bBOtCd8qMs /FkSiPi9qawsW48K17XJxs3lQsPeze6l+b7HpWHRuqA0gsAxswflp/Stah2PU6vlK6gU m8hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7lxnpXiK0E5lu0xHwba+QLJ06lCzLXZObqMGuW1vJGo=; b=U9J4cQ/X+ZlEckJC28aVO+AIZfgZcvHddhvZAvP1YbOiztU6R3k6bfYReBRQqiLKCJ mPAMfc6YEEgjlRb88gC3juAHI8jHLH+0hoiZzHARxqI2ONkXYg/pXCMW54ilQzXOvp3Y inh8IGU7PE8DoaT9fb7+34qk/F4vJOCG0CikzbwxbrRc+DuoIAn3kqGuL2zpI8P+p64p OUctwrzSxgqDIC6xGQU2QFQm7/VTIK+hlD/gaSn42u/upCCQO/6IEBXpRtJj5qdadRc+ Bm8lwAHNa2mDQ3bQeZRGMRQTtyuh9OyI3JG+fC2E7As7xFEuzEh6idR1uOo0AxBKwYsF 0MZQ== X-Gm-Message-State: APf1xPAcSLBWN1Xol13RpAdfmWqJGjGThZT2ejbb6zUmH0Jh/s2LqLEm mQKDtJLKAh91wF1sPejkVQdPMMaWiDerGxNxs5Z73zEF X-Google-Smtp-Source: AH8x224Ohm4FXJUnTGvRt/Kh3Hu0eAcJpz1l/G9BNgu7lVNj7NofEK99lg+KY9Iaf0gQyksRdX0uEQX1Kl1z1NGvpzU= X-Received: by 10.31.87.69 with SMTP id l66mr10875066vkb.132.1518436615406; Mon, 12 Feb 2018 03:56:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.37.104 with HTTP; Mon, 12 Feb 2018 03:56:54 -0800 (PST) In-Reply-To: References: <1518274333.958012.1266289064.4138ABF6@webmail.messagingengine.com> From: James Thomas Date: Mon, 12 Feb 2018 11:56:54 +0000 Message-ID: Subject: Re: A proposal for a more efficient implementation of Go actions To: dev@openwhisk.apache.org Content-Type: text/plain; charset="UTF-8" This is a good write-up of supporting a Go-runtime. I wrote a sample library to help Go a while back, it might be useful to review for a starting point: https://github.com/jthomas/ow If we have a `binary` runtime for Go, can this also be used with other static binaries if they support the correct API endpoints? If so, we could have a generic binary runtime to support more languages. On 10 February 2018 at 16:37, Carlos Santana wrote: > details details ... > > Will help along the way > > Yay !! OpenWhisk Go! > On Sat, Feb 10, 2018 at 10:57 AM Rodric Rabbah wrote: > >> > One problem I see is the /run running on port 8080 there will be a port >> conflict. >> >> Michele said "exec", so the initial proxy will replace itself with a new >> proxy and the compiled function. >> Should avoid port conflict. A wrinkle I see is terminating the /init >> connection held by the invoker (so this has to be orchestrated properly). >> >> There might also a need to retry the /run in case of a failed connection >> (because new proxy isn't up). We had disabled this explicitly at one point, >> but I don't foresee a show stopper yet. >> >> -r >> -- Regards, James Thomas