[AWS] Persistent database connections

Thomas Løcke thomas.granvej6 at gmail.com
Tue Apr 27 00:02:45 CEST 2010


Hey all,

I'm still making good progress with my PHP->AWS project, and I've now
reached the point where I'm investigating the various database
packages available. I haven't quite decided on one yet, but no matter
what I choose, I'm going to end up with the same issue: How to best
manage persistent database connections in an AWS application?

I'm using the URI dispatcher, and I can't come up with a good solution
to this specific issue. It's simple enough to just make a new
connection on each request, but it's a waste of resources, so I'd
rather not go down that route, if it can  be avoided without too much
hassle.

All hints and advice are more than welcome. Also in regards to a good
database package (PostgreSQL).  :o)

Regards,
Thomas Løcke


More information about the AWS mailing list