-2

Possible Duplicate:
Can you help me with my capacity planning?

I received an email the other day from one of the websites in the global top 100 saying they are going to link to me on their homepage in a few days time. Approximately 5% to 10% of people usually click it, so they said to expect about a million visitors every 24 hours.

I'm only serving a plain HTML page, with one or two images, and a few zip file downloads - but this is running on a VPS with 512MB of RAM with access to a single 2.5GHz processor. I am using nginx which is pretty efficient but I need to know whether it will be sufficient as the site falling over is not an option.

This content is served from a subdomain, but the main site is configured in nginx as a reverse proxy and uses SSL so if a lot of these visitors click through there will be a lot of requests there. SSL is quite CPU-hungry.

There is also only 5GB of free space, and I have logging enabled.

So my question is will my setup be sufficient for the load I am expecting? Are there any changes I need to make? I'm aware moving to a dedicated server is an option, but the costs are currently prohibiting.

Callum
  • 1

2 Answers2

1

Since you know how many visitors you expect, why don't you run a benchmark? There are many tools out there which can help you estimate how many visitors your server supports: ab, Flood, Jmeter, just to name a few.

If failure is not an option, you should test this for yourself.

Oliver
  • 6,076
0

One of the benefits of virtualization is that you can dial the resources up and down.

You should test, but if you don't have time to, why not just dial up the resources now and then dial them down once the traffic has subsided (probably after a few days)?

Cheers

HTTP500
  • 4,861