Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 2 down vote accepted

video encoding is almost always cpu bottlenecked, so odds are amazon's high-cpu instances will be worth it for you. Similarly amazon's pricing has clear economies of scale so fewer more powerful instances are going to be more cost effective in general.

Push comes to shove though, none of us know your app so you gotta test yourself and do the math.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.