What is the scope or lifespan of a global variable in AWS Lambda?
for example if I do something like this:
cache = {}
def lambda_handler(event, context):
# do something with "cache"
# do something else with "cache"
Is cache going to be initialized once per invocation (fresh process for each Lambda execution) or once this module is initialized, is it re-used for multiple invocations?