AN
anatoly-scherbakov/persist-event-loop-in-lambda
Determine if Python asyncio event loop may be persisted among AWS Lambda invocations.
Verify if asyncio event loop persists
It does.
Attempt #1:
{"statusCode": 200, "body": "{\"loop_id\": 140153436009136, \"hello\": \"world\"}"}{
"StatusCode": 200,
"ExecutedVersion": "$LATEST"
}
Attempt #2:
{"statusCode": 200, "body": "{\"loop_id\": 140153436009136, \"hello\": \"world\"}"}{
"StatusCode": 200,
"ExecutedVersion": "$LATEST"
}
Attempt #3:
{"statusCode": 200, "body": "{\"loop_id\": 140153436009136, \"hello\": \"world\"}"}{
"StatusCode": 200,
"ExecutedVersion": "$LATEST"
}
Attempt #4:
{"statusCode": 200, "body": "{\"loop_id\": 140153436009136, \"hello\": \"world\"}"}{
"StatusCode": 200,
"ExecutedVersion": "$LATEST"
}
Attempt #5:
{"statusCode": 200, "body": "{\"loop_id\": 140153436009136, \"hello\": \"world\"}"}{
"StatusCode": 200,
"ExecutedVersion": "$LATEST"
}
On this page
Languages
Shell72.4%Python27.6%
Contributors
MIT License
Created August 13, 2019
Updated March 25, 2023