Re: [FeedBack]Adjust prewarm container dynamically

2020-05-19 Thread Dominic Kim
This is great work.
Thank you, Ning and Tyson, for your efforts.

Regards
Dominic

2020년 5월 20일 (수) 오전 6:51, Tyson Norris 님이 작성:

> Thank Ning!
> I have approved the PR - if nobody else has comments or changes requested
> by tomorrow, I will merge it if nobody else pushes the button first.
> Tyson
>
> On 5/18/20, 8:34 PM, "Rodric Rabbah"  wrote:
>
> I've watched this PR as it has evolved - very nice work and
> contribution
> (and thanks Tyson also for all the detailed guidance you provided).
>
> -r
>
> On Mon, May 18, 2020 at 11:28 PM 甯尤刚 
> wrote:
>
> > Hi, guys
> > this is the feature: Adjust prewarm container dynamically:
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fopenwhisk%2Fpull%2F4871&data=02%7C01%7Ctnorris%40adobe.com%7C51b99e290ba34a76a90708d7fba5796d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637254560437768829&sdata=VzDVaNVDFyXXHRoJu%2BLFJrltjCsfbeMt%2Fqgtzrmvn2g%3D&reserved=0
> > Currently, this pr is close to done.
> > I look forward to receiving your guys's feedback, thanks!
> >
>
>


Re: [FeedBack]Adjust prewarm container dynamically

2020-05-19 Thread Tyson Norris
Thank Ning!
I have approved the PR - if nobody else has comments or changes requested by 
tomorrow, I will merge it if nobody else pushes the button first.
Tyson

On 5/18/20, 8:34 PM, "Rodric Rabbah"  wrote:

I've watched this PR as it has evolved - very nice work and contribution
(and thanks Tyson also for all the detailed guidance you provided).

-r

On Mon, May 18, 2020 at 11:28 PM 甯尤刚  wrote:

> Hi, guys
> this is the feature: Adjust prewarm container dynamically:
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fopenwhisk%2Fpull%2F4871&data=02%7C01%7Ctnorris%40adobe.com%7C51b99e290ba34a76a90708d7fba5796d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637254560437768829&sdata=VzDVaNVDFyXXHRoJu%2BLFJrltjCsfbeMt%2Fqgtzrmvn2g%3D&reserved=0
> Currently, this pr is close to done.
> I look forward to receiving your guys's feedback, thanks!
>



[slack-digest] [2020-05-18] #general

2020-05-19 Thread OpenWhisk Team Slack
2020-05-18 15:14:16 UTC - Bilal: @Sam So by default each action will use 256mb 
of ram, so setting limit to 200 means you need 200 * 256mb = 51+ GB of RAM
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589814856307900?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 15:16:33 UTC - Bilal: I have 3 invoker/controller in my setup
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589814993308200?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 15:17:06 UTC - Bilal: But I don't think I did anything special other 
than increase the replica count
```invoker:
  containerFactory:
impl: "kubernetes"
kubernetes:
  replicaCount: 3

controller:
  replicaCount: 3```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589815026308400?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 19:54:41 UTC - Sam: Oh I figured out the problem thanks to you. It 
was because available cpu wasn’t enough.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589831681308700?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 19:54:54 UTC - Sam: Thank you!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589831694308900?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 19:55:45 UTC - Bilal: You're welcome!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589831745309100?thread_ts=1589412209.280300&cid=C3TPCAQG1

2020-05-18 23:37:35 UTC - Roberto Diaz: I have a question regarding the feeds, 
openwhisk is in charge of execute my feed implementation as a polling or should 
I take care of that?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845055311400

2020-05-18 23:38:47 UTC - Rodric Rabbah: the feed is an external agent
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845127311700

2020-05-18 23:39:14 UTC - Rodric Rabbah: so openwhisk doesn’t do the polling 
itself
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845154312400

2020-05-18 23:39:57 UTC - Roberto Diaz: what’s the different with a trigger?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845197312700

2020-05-18 23:41:52 UTC - Roberto Diaz: if I have a separate application and 
call directly a trigger from it the result is the same
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845312313600

2020-05-18 23:42:28 UTC - Roberto Diaz: I thought that the feeds adds some kind 
of benefit compared with triggers
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845348314200

2020-05-18 23:46:51 UTC - Dominic Kim: Actually, a feed is an external 
component that invokes your trigger.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845611314800

2020-05-18 23:47:26 UTC - Dominic Kim: You can implement a feed action to set 
it up while creating a trigger.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845646315500

2020-05-18 23:47:55 UTC - Dominic Kim: Alarm provider could be a good example.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845675315900

2020-05-18 23:48:40 UTC - Dominic Kim: You can create a trigger with `--feed` 
option. Then the feed action will register the alarm information along with 
your trigger information in Alarm provider.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845720316800

2020-05-18 23:49:28 UTC - Dominic Kim: When an alarm occurs, it will invoke 
your trigger.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845768317700

2020-05-18 23:50:01 UTC - Roberto Diaz: I see
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845801317900

2020-05-18 23:51:18 UTC - Roberto Diaz: I thought that there were some kind of 
polling mechanism implemented associated with feeds :disappointed:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589845878319000

2020-05-18 23:54:02 UTC - Dominic Kim: Since the feed is a way to invoke a 
trigger in response to any external events, polling is just one way to achieve 
it and it's up to you to implement it.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846042320800

2020-05-18 23:54:43 UTC - Dominic Kim: More precisely, an external component 
will poll an external event source and it will fire a trigger when an event 
happens.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846083321700

2020-05-18 23:56:11 UTC - Roberto Diaz: yep
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846171321900

2020-05-18 23:56:22 UTC - Roberto Diaz: in fact the feed could not be needed
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846182322300

2020-05-18 23:56:46 UTC - Roberto Diaz: just calling the trigger from the 
external event source
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846206322800

2020-05-18 23:57:17 UTC - Rodric Rabbah: James Thomas built a framework that he 
has designs on making “universal”, you might want to try that as a starting 
point
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1589846237323600

2020-0

[slack-digest] [2020-05-18] #random

2020-05-19 Thread OpenWhisk Team Slack
2020-05-18 15:14:53 UTC - mmarth: Shameless plug for our shiny new developer 
platform "Project Firefly" that launches today. JAMStack architecture, 
OpenWhisk at its core. 

partyparrot : Rodric Rabbah, Shazron Abdullah, Kostis Kaffes
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1589814893024100

2020-05-18 21:27:38 UTC - Rodric Rabbah: Congrats to the Adobe team. 
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1589837258024900