Re:Fission: Serverless Functions as a Service for Kubernetes
by lars_francke on Tuesday January 31, 2017 @09:18AM
(#13530685)
Perfect, thank you. Some of the docs I read made it out so that instances of my functions would never be reused. Or to put it better: I should not rely on them being reused.
If I keep DB connections for example am I now relying on an implementation detail or is this documented behavior? I realize that this will be different for every system.
Re:Fission: Serverless Functions as a Service for Kubernetes
by RhodesianHunter on Tuesday January 31, 2017 @07:40PM
(#13536987)
As long as you invoke your lambda again within a few minutes it will re-use your static assets.
I'm sure they use your invocation history in deciding how long to keep them around.
You manage dependencies by bundling them up in a JAR or zip file (handled by Maven or Gradle)
Static assets can be kept warm between invocations (nice for things like DB connections)