Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Here's the scenario.

  1. We create a campaign in our database of email addresses ( around 200K emails per campaign).
  2. We send 4 such campaigns (newsletters) daily.
  3. The emails are such that a lot of users will come to the site as soon as they receive the email.
  4. So, even before our campaign has finished, the load on the server gets double high because users have already started clicking.
  5. The campaign sending cron job and receiving php script are both on the same server setup (1 Web Server + 1 DB Server + 1 Mail Server).

However, the hosting company now screaming that we have very high IOPS on their cloud (roughly 2000+) so they are going to downgrade us soon.

What should be our next plan of action and how to optimize this to keep it going over the holiday season.

share|improve this question

closed as not a real question by Ward, Sven, HopelessN00b, Skyhawk, Dan Nov 23 '12 at 8:42

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can either reduce the IOPS you are doing or pay for more of them. If you don't have the time or the experience level to do the first option (one of your other questions suggests that it will take you a while to get this right, this one makes me think you're doing a lot of swapping), you'll probably want to go for the second option.

The whole point of "the cloud" is that you can scale your servers out easily. It does still take some work on your part making sure you can deploy your app to your new server and balance across them, but it should be not much more than logging in to the control panel and clicking "create server".

If you're having troubles with spiky traffic patterns caused by your mailout, you could try sending your emails more slowly so that the load is more evenly spread over the entire day.

share|improve this answer
Thank you errrr @Ladadadadada we have asked the hosting company to look into this. I will update the question when I find out more. – Khuram Nov 23 '12 at 12:28

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