PynamoDB icon indicating copy to clipboard operation
PynamoDB copied to clipboard

Reduce latencies with tcp_keepalive

Open yoshi-taka opened this issue 2 years ago • 0 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

yoshi-taka avatar Dec 27 '23 04:12 yoshi-taka