4 ms·
AWS is working on the Serverless Aurora Data API which is meant precisely for this purpose (it's an API wrapped around RDS).
by ak217 8y ago
AWS is working on the Serverless Aurora Data API which is meant precisely for this purpose (it's an API wrapped around RDS).
- paulddraper 8y agoI don't understand. Don't MySQL and PostgreSQL already have an API?
- tdfx 8y agoYes, but each database instance has a limited number of connections that can be open. You can use Lambda to handle as many web requests as you want, but if each Lambda invocation is creating a new database connection you've only shifted your bottleneck one layer down the stack.
- paulddraper 8y agoI think Azure runs pgbouncer for that.
- tdfx 8y agoSure, you could run pgbouncer yourself on EC2, but unless it's offered as a managed service you're no longer "serverless" as you've got a pgbouncer server to administer yourself.
- paulddraper 8y agoI agree. That's why Azure runs it for you.
- jsperx 8y agoI was actually at an AWS event and they mentioned that, so I searched and found this article... https://www.jeremydaly.com/aurora-serverless-data-api-a-first-look/ https://www.jeremydaly.com/aurora-serverless-data-api-a-firs... ...that says it’s REALLY slow.