Hi Ranjan. Just a quick drive by suggestion: You might find better luck setting your memory on the lambda to 1024MB. We typically found that multiples of 1GB were the best cost/performance areas and that 1GB tended to be the minimum we ever allocated because executions were much faster and therefore cheaper. Try running it with both 128mb and 1024mb, I think you'll be surprised to find 1024 is cheaper.
Hi Ranjan. Just a quick drive by suggestion: You might find better luck setting your memory on the lambda to 1024MB. We typically found that multiples of 1GB were the best cost/performance areas and that 1GB tended to be the minimum we ever allocated because executions were much faster and therefore cheaper. Try running it with both 128mb and 1024mb, I think you'll be surprised to find 1024 is cheaper.
Thanks for the tip! I am gonna try setting 1024 next time!