serverless-mysql icon indicating copy to clipboard operation
serverless-mysql copied to clipboard

RDS Proxy

Open Morindal opened this issue 5 years ago • 3 comments

@jeremydaly what's your approach towards RDS Proxy (https://aws.amazon.com/rds/proxy/)? Would you consider using both serverless MySQL and Proxy together or is that an overkill (as they kinda overlap in connection clean up functionality)

Morindal avatar Jul 16 '20 06:07 Morindal

if your using aurora serverless mysql don't need the proxy, if your using aurora mysql or rds mysql yes use a proxy for serverless apps.

stephanelpaul avatar Oct 10 '20 23:10 stephanelpaul

To be clear, it's not possible to use RDS Proxy with Aurora Serverless, per AWS docs:

You can't use RDS Proxy with Aurora Serverless clusters.

trademark18 avatar Apr 28 '21 14:04 trademark18

@Morindal do you use RDS? how did you solved your issue? facing something simillar here.

As per @StephaneP says, you should use the RDS Proxy with RDS + serverless-mysql, BUT, as far as I understood, the question was more like wich of the following approaches/options to use:

option 1 would be: RDS + RDS Proxy + serverless-mysql as the best approach. (we need the proxy) or, option 2, that would be RDS + serverless-mysql (as it already cleans up the connection) wich is already enough and it's also a good approach too.

I'm starting using serverless-mysql and I'm having same doubts, wich option is best?

thanks advance in case one of you replies!

Markkos89 avatar Jul 02 '22 07:07 Markkos89

@Markkos89 What are the conclusions? Are you using serverless-mysql in conjunction with RDS-Proxy?

shmuel-torii avatar Jun 13 '23 10:06 shmuel-torii

@Markkos89 What are the conclusions? Are you using serverless-mysql in conjunction with RDS-Proxy?

Hi there! In my case instead of using RDS, we moved to DynamoDB :sunglasses:

Markkos89 avatar Jun 13 '23 10:06 Markkos89

Afaik when using an RDS proxy there's no need in using serverless-mysql, the proxy handles all the zombie connections logic.

naorpeled avatar Jul 08 '23 12:07 naorpeled