AWS Lambda, Cold Start and Java Optimizations [draft]
In one of my recent project I got an opportunity to work on a Java based Lambda function. Here I am sharing few tips to reduce the cost and solution to the common AWS Lambda problems like Cold start. Keep them warm! Use provisioned concurrency – AWS feature. Use Periodic ping e.g., health checks! Load as much as you can/need during runtime bootstrap since you get boosted CPU access during that time but mind the 10 second limit Keep JAR size as small as possible, avoid including unnecessary jars and classes....