5

Load balancing for PHP script on AWS

view full story
linux-howto

http://serverfault.com – I hope this is the proper place to ask this. I put it up in webapps and it was closed without a recommendation on where to put it. Hopefully folks will be kinder here. I have an app that I am gathering usage metrics on. The metrics are sent to a MySQL DB via PHP scripts. This is all running on an AWS EC2 micro instance. My question is, I have about 10 metrics I want to gather. Would I be better served breaking up the PHP scripts into 10 separate units that each write one metric to the DB or writing one monolithic PHP script to handle them all? I don't care about the complexity or inher (HowTos)