I have a server running on Amazon EC2 that acts as a video encoder (LAMP CentOS + FFMPEG). How can I load test it with video files and get an idea of how many encodings it can handle. I can't seem to find where FFMPEG keeps a log file or how to enable logging with FFMPEG can anyone help?
Some assumptions -
1) Only 1 video can be encoded at a time, I have set up a SQS queue to feed the processes to the server. 2) I can use Amazon Cloudwatch and Auto Scale to simply start another instance when my SQS queue gets to a certain size or performance on server slows - Amazon will take care of distributing traffic between multiple servers.
what are best practices for scaling video encoding servers, am I better off having lots of small instances or fewer larger instances?
thanks