5

I have an E-Commerce site, which gains a sudden peak of very high traffic when I turn on different ads campaigns.

From this moment on, my current dedicated server (Hostgator, 4GB Memoray, 100mbps uplink) becomes unresponsive.

I have worked too much on my site code's optimization including cache mechanism. But it seems to be a server issue.

Any guidelines what should I do?

4
  • "What servive" as in "who should I use?"
    – tombull89
    Feb 18, 2013 at 11:21
  • Yep, what is better alternate? Who should I use?
    – aceph ali
    Feb 18, 2013 at 11:37
  • 2
    Changing service providers won't magically make your website handle traffic spikes better. What you need to do is find what resource bottleneck your app is hitting under heavy load and either increase that resource (say, more RAM or more CPU) or decrease the usage of that resource. A question about how to find the resource bottleneck would be a good one. Feel free to edit this question to that end.
    – Ladadadada
    Feb 18, 2013 at 11:38
  • 1
    "Who should I use" can be classed as a shopping question and is off-topic for ServerFault and all StackExchange sites. If you want reccomendations for hosting I suggest you look at a site such as webhostingtalk.com but it may be an idea to look at your bottlenecks before spending money on more hardware.
    – tombull89
    Feb 18, 2013 at 11:42

2 Answers 2

8

I can't really answer the "who should I use" part of the question (as it's off-topic), but given that I do have significant experience in making sites/applications scale for high-traffic loads, I can definitely suggest that you look at getting a Reverse-Proxy CDN.

The last company I worked for used Yottaa for this, and were able to use their services to survive some absolutely huge traffic spikes generated by TV advertising.

There are lots of CDN services available, but you'll probably see the most benefit from one with an "origin pull" mechanism, where user's requests hit them first, and they request the page from you once, and then all further hits for that document are served by the CDN's servers.

You'll do best to pick a half dozen different CDN providers, and then set them off against each other, and see who can battle the best deal for your requirements. Big CDNs like Akamai are probably gonna be insanely expensive for your scale/needs.

I'd mostly forgotten that there's actually some Free CDN services from the Coral CDN, and Cloudflare (free to a point, I seem to recall).

One of the intriguing things that some CDNs can provide now is SSL acceleration, where they serve the secure portion of your site with a Subject Alternative Name certificate they generate, so that they can "pretend to be you" in terms of what the users see.

1
  • 1
    +1. Neother service providers (ISP) nor a faster server will help - unless you are willing to keep a LOT of capacity in reserve. A CDN allows a "scale out" approach. The rest is tricky thinking.
    – TomTom
    Feb 18, 2013 at 11:59
0

You could start by spending a couple of years learning Linux/Unix systems administration, another couple of years learning about programming and applying those skills, then spend 12-18 months learning about HTTP addministration, reading up on the topic, building test systems and experimenting with different configurations and load profiles.

Currently you're not even providing the most basic of information about what's happenning to your server which rather implies that you don't kbnow the basics of how to start addressing the problem. There are lots of stackexchange sites covering a range of topics, however you're unlikely to find any with questions like 'How do I perform brain surgery to remove a small tumour' or 'How do I fly a 747'. There's just too much to cover in the question nevermind any answers.

It's great that you're getting enough traffic to hose your server - particularly if it's an e-commerce application. That should provide sufficient justification to go out and pay for some quality support with solving your performance problems.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .