There are two approaches of "deploying" a Java Lambda:
- create a "fat" jar including all (unpackaged) dependencies, e.g. by use of the maven-shade-plugin
- create a zip file containing my code and a lib directory with all dependencies as jar files
As it takes really long until the environment that executes our simple Lambda is "booted" (20-30s), I wonder if either approach is "faster" than the other or can be further speed up?