amazon-rds-proxy

AWS lambda function with runtime python 3.7 does not utilizing connection pool in rds proxy instead it create new connection on every request

本秂侑毒 提交于 2021-02-20 03:42:28
问题 I am using AWS lambda functions for a few months now. so far I have cached the connection in the lambda function memory to reuse. After reading about AWS rds proxy recently, I am trying to utilize the connection pool for the lambda functions(Runtime python3.7). so to test the way rds proxy works with lambda functions, I created two functions with runtime node12 and python3.7, the behaviours was this. 1. node12 function => When I run this function, it pools two connection in the proxy and

Does RDS proxy affects current application side pooling?

此生再无相见时 提交于 2021-02-04 21:00:37
问题 I have a Saas application on AWS ECS and databases on AWS RDS. We are planning to implement AWS RDS Proxy for pooling implementation. From the RDS proxy documentation, I saw that we don't need to make any changes to the application code. Currently, we are using application side connection pooling. When we implement an RDS proxy for pooling, does the current pooling have any impact? Do we need to remove the application side pooling to work with RDS effectively? My main concern is, if I choose