If you're doing this you're using lambda's wrong.
Amazon RDS Proxy for AWS Lambda
21–30 of 32 posts
Re: Amazon RDS Proxy for AWS Lambda
#22I wonder how this compares to Aurora Serverless Data API. This is an HTTP API that you POST a query to and get results data back. The result format is a bit clunky but there's all the column information you'd expect. I found this golang database interface which ended up dropping in as expected with a few tweaks. https://github.com/Clever/rds/tree/birthday My bill for Aurora Serverless Postgres last month was less tha…
Re: Amazon RDS Proxy for AWS Lambda
#23Free til the end of 2019, 0.015 per vCPU (of the underlying RDS instance) per hour the proxy is enabled. So it is not scaled down to 0 when not in use. For comparison, a t3.micro (2 vCPU, 1gb ram) is 0.0104 per hour. If you're a big project it might be worth it, but just keep in mind rolling your own proxy or using the RDS serverless APIs are cheaper options.
Re: Amazon RDS Proxy for AWS Lambda
#24I wonder how this compares to Aurora Serverless Data API. This is an HTTP API that you POST a query to and get results data back. The result format is a bit clunky but there's all the column information you'd expect. I found this golang database interface which ended up dropping in as expected with a few tweaks. https://github.com/Clever/rds/tree/birthday My bill for Aurora Serverless Postgres last month was less tha…
We use Aurora Serverless and this is a sorely needed feature for us. We get large spikes of traffic that also cause large increases in connections to our DB, but Aurora Serverless cannot scale fast enough to cater for this. Unfortunately it doesn't seem we can enable this proxy for serverless clusters.
This proxy is probably an offshoot of the serverless proxy.
Re: Amazon RDS Proxy for AWS Lambda
#25hahaha JDBC as a service. We really needed this, what has the world come too.
JDBC doesn’t provide connection pooling out of the box. There are connection pooling libraries that layer into JDBC. Most frameworks and application servers do bundle a connection pool out of the box.
Lambda is just a different paradigm than a single monolithic app with a connection pool. I assume that’s what you’re getting at. :)
There are other use cases though. Tools like pgBouncer are fairly useful in a large enterprise where a single database has multiple clients. They provide a single point to coordinate failovers and manage resource limits. I generally prefer a 1:1 relationship between an application and a database, but sometimes you have to play the cards you’re dealt.
Re: Amazon RDS Proxy for AWS Lambda
#26Earlier quoted context omitted.
We use Aurora Serverless and this is a sorely needed feature for us. We get large spikes of traffic that also cause large increases in connections to our DB, but Aurora Serverless cannot scale fast enough to cater for this. Unfortunately it doesn't seem we can enable this proxy for serverless clusters.
Aurora serverless already has a proxy by default - if it can’t scale fast enough it’s likely because your queries are too long and interleaved to find a logical switchover point. This proxy is probably an offshoot of the serverless proxy.
https://www.jeremydaly.com/aurora-serverless-the-good-the-ba...
Re: Amazon RDS Proxy for AWS Lambda
#27https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide...
If I'm using Aurora Serverless right now and want to switch over to RDS Proxy I'm going to have to rewrite my calls.
Re: Amazon RDS Proxy for AWS Lambda
#28Re: Amazon RDS Proxy for AWS Lambda
#29If you're doing this you're using lambda's wrong.