I have several different applications I need to run to server my website. To use the least amount of servers while still maintaining good performance, which of the following can I put on a single server? Here are the applications I need to run:
mysql, nginx (2), memcached, sphinx search, Rails Cron jobs
I know that mysql needs a dedicated system to run, so does nginx for serving webpages. However, I have heard that memcached can be put on the web server it's self because it uses almost no cpu and ram only, where the webserver uses mostly cpu.
If possible, I would really like to combine memcached, sphinx search and Rails cron jobs on one machine.
What do you think?