Re: Invoker HA on Mesos

2018-04-04 Thread David P Grove
-dave Tyson Norris wrote on 04/03/2018 12:00:09 PM: > From: Tyson Norris > To: "dev@openwhisk.apache.org" > Date: 04/03/2018 12:00 PM > Subject: Re: Invoker HA on Mesos > > One problem with this (delegating to ContainerFactory to share > prewarm/warm contai

Re: Invoker HA on Mesos

2018-04-03 Thread Tyson Norris
mailto:tnor...@adobe.com.INVALID>> To: "dev@openwhisk.apache.org<mailto:dev@openwhisk.apache.org>" mailto:dev@openwhisk.apache.org>> Date: 03/30/2018 01:37 PM Subject: Re: Invoker HA on Mesos Hooking into pause/unpause/destroy of containers seems plausible, instead of hooking into the Ma

Re: Invoker HA on Mesos

2018-03-30 Thread David P Grove
+1. I like this design. --dave Tyson Norris wrote on 03/30/2018 01:37:43 PM: > From: Tyson Norris > To: "dev@openwhisk.apache.org" > Date: 03/30/2018 01:37 PM > Subject: Re: Invoker HA on Mesos > > Hooking into pause/unpause/destroy of containers seems plausibl

Re: Invoker HA on Mesos

2018-03-30 Thread Tyson Norris
Hooking into pause/unpause/destroy of containers seems plausible, instead of hooking into the Maps in ContainerPool. So in the existing PR, the ContainerPool uses an alternate impl for Map to store freePool and prewarmPool, and that alternate impl initiates the attach to existing containers, w

Re: Invoker HA on Mesos

2018-03-30 Thread Dragos Dascalita Haut
o have this visibility in memory, w/o relying on other components for each single invocation. From: David P Grove Sent: Friday, March 30, 2018 9:58:05 AM To: dev@openwhisk.apache.org Subject: Re: Invoker HA on Mesos Tyson Norris wrote on 03/27/2018 06:25:

Re: Invoker HA on Mesos

2018-03-30 Thread David P Grove
Tyson Norris wrote on 03/27/2018 06:25:59 PM: > > Do you have an example of the labels working? I guess the labels are > changed over time through the lifecycle of the container? > Apologies for brutally chopping the email chain; my mail client made a horrible hash of it. Right now, all we are

Re: Invoker HA on Mesos

2018-03-27 Thread Tyson Norris
PR is opened here: https://github.com/apache/incubator-openwhisk/pull/3497 On Mar 27, 2018, at 3:25 PM, Tyson Norris mailto:tnor...@adobe.com.INVALID>> wrote: On Mar 27, 2018, at 2:28 PM, David P Grove mailto:gro...@us.ibm.com>> wrote: Tyson Norris mailto:tnor...@adobe.com.INVALID>> wrote o

Re: Invoker HA on Mesos

2018-03-27 Thread Tyson Norris
> On Mar 27, 2018, at 2:28 PM, David P Grove wrote: > > Tyson Norris wrote on 03/27/2018 04:33:48 PM: >> >> We’ve been discussing how to handle mesos framework HA in the >> Invoker, and I created a proposal on the wiki to discuss. >> >> https://na01.safelinks.protection.outlook.com/?url=http

Re: Invoker HA on Mesos

2018-03-27 Thread David P Grove
Tyson Norris wrote on 03/27/2018 04:33:48 PM: > > We’ve been discussing how to handle mesos framework HA in the > Invoker, and I created a proposal on the wiki to discuss. > > https://cwiki.apache.org/confluence/display/OPENWHISK/Clustered+Singleton +Invoker+for+HA+on+Mesos > > In general, the ide

Invoker HA on Mesos

2018-03-27 Thread Tyson Norris
Hi - We’ve been discussing how to handle mesos framework HA in the Invoker, and I created a proposal on the wiki to discuss. https://cwiki.apache.org/confluence/display/OPENWHISK/Clustered+Singleton+Invoker+for+HA+on+Mesos In general, the idea is to allow a single cluster-wide/single ContainerPo