hum
https://docs.aws.amazon.com/lambda/latest/dg/running-lambda-code.html
> Each Execution Context provides 500MB of additional disk space in the /tmp directory. The directory content remains when the Execution Context is frozen, providing transient cache that can be used for multiple invocations.
Thinking that when we get to implementing delta redeploy (https://github.com/portkey-cloud/portkey/issues/10) we can cache precompiled classes in /tmp
and fetch only newly compiled classes
hmm, although /tmp
is probably ec2 dependend
if a new invocation ends up creating a process on a separate machine, cache won’t be there
hmm
another thing:
> Background processes or callbacks initiated by your Lambda function that did not complete when the function ended resume if AWS Lambda chooses to reuse the Execution Context. You should make sure any background processes or callbacks (in case of Node.js) in your code are complete before the code exits.
this might mean that this could be done on the background…
wonder how billing goes in that situation…
hum, I think we/you (don’t remember author of the idea) had such background loading idea
even inside the lambda process
On bg process, I think it’s clear: when the main processing halts they are frozen
hmm, might be so
since
resume if AWS Lambda chooses to reuse the Execution Context.
(a week or so ago I researched bout them)
stated by that
so basically if you have a heavy bg process it’s going to slow down your handler and thus you’ll be billed for the whole combined esexcution time that’s all
apropo, was working on reading models from aws-java-sdk-models
for aws-clj-sdk
, but got bogged down on some new api, thinking about just skipping those that need changes to be supported
right
delta redeploys are two fold: • upload less • do a “soft” redeploy
yes
soft would be for 5min, but thinking that if same compute instance is reused, jvm might be warm too
how's the idea on instrumenting java.security
factories?
too busy to implement it
if I'd be able to infuse the weights of your neural net to be able to implement/help in implementing :)
we don’t have an issue open for these cryptos?
aah, that I can do
with less training on my net
there's a test though, I'll link to it
had in mind to do a bot that watches CircleCI build status (since can't add CircleCI integration to Slack)