Reduce latencies with tcp_keepalive
yoshi-taka opened this issue · comments
botocore has a config parameter of tcp_keepalive.
https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
This can improve performance significantly.
https://www.miketheman.net/2022/10/04/reduce-aws-lambda-latencies-with-keep-alive-in-python/
The following is a list of code to be modified. (connect_timeout_seconds)
https://github.com/search?q=repo%3Apynamodb/PynamoDB%20connect_timeout_seconds&type=code