From dev-return-4562-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Tue Oct 1 14:22:05 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 01223180674 for ; Tue, 1 Oct 2019 16:22:04 +0200 (CEST) Received: (qmail 7446 invoked by uid 500); 1 Oct 2019 14:22:02 -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 7198 invoked by uid 99); 1 Oct 2019 14:22:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2019 14:22:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 21E0CC2E8B for ; Tue, 1 Oct 2019 14:22:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sHGLqRBdsmMQ for ; Tue, 1 Oct 2019 14:21:59 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.171; helo=mail-qk1-f171.google.com; envelope-from=rodric@gmail.com; receiver= Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id E5472BC5BF for ; Tue, 1 Oct 2019 14:13:20 +0000 (UTC) Received: by mail-qk1-f171.google.com with SMTP id u186so11342135qkc.5 for ; Tue, 01 Oct 2019 07:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LHPTmzSaGJycrzKY3pS+oDdwRyZJ48j0c/U8yUKwrtE=; b=iM8rwwbSikP6+9jJD7N494VJOCjLtPVOCaoB8hvJw7tF2vJuI/vM3xIAoSIXEMBu+G J+yhs9SLKxg6Ryn496bFMyvOwSwKK8CGmKaZxGxRRwh5vqOQ7j/9l1AHTWwm2lwopzlM Yj3WDjzIpyhvJxb5q3O0ox4Io+hwjDS+dqdVBJlVO0NTpAK2LK/2zgSHxnkli5SYo+OK BFGAk2V8itn06Qz0aKH4Dzd6CEcDpTZxmh6vKBTCZpNZ+R7J6Nw8FT+J/dDGYoaQT1LQ 0FZnPaFuXOxFNkQ4wjMWwGpIZHVblkXFBNs/FGfc8FHfbjA6tJciPcPsovLFVUz4bRCU 5CFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LHPTmzSaGJycrzKY3pS+oDdwRyZJ48j0c/U8yUKwrtE=; b=cosiYbVmki50SULQE8eLkeGmNX5ph1317i+LO/kmBIo8gd4gsMPxk+fx7N1lCWEwgY uNOOtKeXVx297izGUTZuPSJq8U4H2S+0oqMBylYLUik0hxP0RZwoLK8js/GGQSeboz3h S+n1St7QumZSbhgU0i9pPkbIHuFqZy0tH4vOEa+hjmaHU2w97EGM+UwBWpbABkkZ8i0w VlntegGcT4yBgzgyBFIl/tsabNhmE8O437c9a6ZOdp+t2P/v3/Pbzz0arHIAVumvGtjn eN6pp1q8xcMVdVqYPyRneNslPAZDaTrvPmPffGNNrDujl0cLMf+dHTwDKqk4zX46UKMN qG2w== X-Gm-Message-State: APjAAAVdketG4dPqhyPrHGWkwcnl1sRl71AYLVC0cPMcFjTUZ6nJ0UDV 0wtRjCUlyY5HVemEPcDE8ao65bUlJQym33ja3iN818Bd X-Google-Smtp-Source: APXvYqyK+Enh0006eoz8NSl0YJCcAhI0zoCdfzcOvApbaz7+NqxlU8BPOMYFDutQk1PgLVzytK5SD0Q4ZeKuH5EnOJ8= X-Received: by 2002:a37:a85:: with SMTP id 127mr6356132qkk.348.1569939200039; Tue, 01 Oct 2019 07:13:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rodric Rabbah Date: Tue, 1 Oct 2019 10:12:43 -0400 Message-ID: Subject: Re: Composer requires Redis but NodeJS Runtime doesn't include it To: dev@openwhisk.apache.org Content-Type: multipart/alternative; boundary="0000000000005663240593d9f4f4" --0000000000005663240593d9f4f4 Content-Type: text/plain; charset="UTF-8" +1 for including redis in runtimes. -r On Tue, Oct 1, 2019 at 10:06 AM Dascalita Dragos wrote: > Currently there's an issue with Composer which requires Redis [1]. Redis > module is not installed by default in the NodeJS images. > I see 2 options to unblock this: > 1 - include Redis in the default nodeJS runtime [2] > 2 - make Redis optional for Composer; parallel combinator in Composer > won't work w/o Redis, but we can assume it's the Openwhisk operator's > responsibility to provide a default nodeJS image that includes Redis > module. > > I'm personally slightly more inclined toward option (1) b/c that enables in > theory all features that exist in Composer. I'm saying "in theory" b/c the > developers still needs to provision Redis on their own, before using > parallel combinators; so, since the developers need to do something to > enable this feature, we could also assume they could provide a custom > runtime that includes Redis, in case the operator doesn't provide it; but > with a blackbox action, the system can't optimize the cold-start. > > The bottom line is that currently, a developer that wants to try OpenWhisk > and Composer, by default it won't work; unless at least we implement option > (2) . Hence I'm not really sure what's best to do. > > WDYT ? > > Thanks, > dragos > > [1] - > https://github.com/apache/openwhisk-composer/blob/master/conductor.js#L45 > [2] - > > https://github.com/apache/openwhisk-runtime-nodejs/blob/master/core/nodejs10Action/package.json > --0000000000005663240593d9f4f4--