3 ms·
I don't understand. Don't MySQL and PostgreSQL already have an API?
by paulddraper 8y ago
I 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.