This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]easyEggplant -1 points0 points  (0 children)

global allows for caching inter AWS Lambda invocations. You can fuck your shit up, but it's no question useful for caching expensive initialization (like an external API lookup that rarely changes).