You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/21 10:32:15 UTC

[GitHub] markusthoemmes opened a new issue #3319: Downloading an action should be part of container initialization

markusthoemmes opened a new issue #3319: Downloading an action should be part of container initialization
URL: https://github.com/apache/incubator-openwhisk/issues/3319
 
 
   Today, the invoker downloads the entire action (including its code) when a message arrives from Kafka. To the user, that appears as `waitTime`. Note that this time could in theory even occur on a warm invocation if the cache is flushed in between invocations (unlikely, but possible).
   
   With the work @dubeejw was doing in switching everything into attachements, we should follow up once that is merged to download the code only as part of the initialization process (thus it will appear as `initTime`) and is guaranteed not to happen as part of a warm invocation.
   
   With that change in, we could also think about not downloading anything at all if no initialization is necessary. All data we need for a warm invocation should already be part of the `ActivationMessage` (I'd need to doublecheck if that is true).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services