1

I would like to ask you your advice. We are ruuning a dynamics website and have 5000 unique visitor everyday. Currently we run the site on Single VPS server with 512 MB RAM , 20 GB HDD, 500 GB Traffic Limit.

We have Online Dictionary service with 15000 words and 10000 Mp3 file.(each mp3 is 30 kb size)

Most of our visitors from USA(40%) and 20% from EU and rest is from others.

Do you think,We should used Amazon FrontCloud for our static data?

regards,

Saya.

2 Answers2

4

You certainly would see some benefit from using a CDN I'm sure, but it does depend on what the cause of speed problems are on the server. Anything you offset from your server would speed things up, particularly give the geographical nature of a CDN.

Are people suffering slow speeds due to latency or because your bandwidth is routinely getting saturated, or is it that your server is working so hard it can't keep up with all the requests? Or is it something else entirely?

All 3 would show some benefit from the use of a CDN, but whether its the most appropriate solution is debatable. The CDN would reduce load on your server hosting static content, and if you're saturating your connection will ensure everyone gets fast downloads; but if your page takes 8 seconds to generate it won't be of any huge gain (I know that's not really what you're saying with that 8 seconds, just trying to help clearly identify the benefits)

From a strictly web server perspective, if you're running on a *nix server have you considered using nginx or lighttpd instead of Apache or as a reverse proxy to it? Both are extremely fast at serving static content like images and use significantly less memory than Apache. I'm not sure about lighttpd, but I do know nginx can be told to serve from a pre-compressed source location for example, giving you the benefits of gzip'd files like reduced bandwidth usage without the CPU hit of on-the-fly compression. Also Varnish as a caching reverse-proxy might be worth considering instead. If your server is reasonably busy even caching a page for 30 seconds - 1 minute can see huge benefit. A large majority of sites if you get down to the fine detail of it don't actually need to be completely dynamic. The company I work for uses Drupal as a CMS for the website, but recently settled on generating the content as static pages through a simple script that runs every 10-15 minutes. The servers providing it have now gone from dynamic to almost entirely plain static hosting and absolutely blaze along. Even re-generating pages that frequently is a bit overkill for our purposes. The only section that needs to be dynamic, is!

Twirrim
  • 673
  • 4
  • 8
0

Do you have a reason to? If your one server (which you could expand easily) is handling the load and responding nicely, there's not really a reason to go with a CDN.

ceejayoz
  • 32,910
  • 7
  • 82
  • 106
  • Hi Jayoz, Some of ours told us the site is very slow. Our server is in germany. Now I am doing some site optimization(CSS compress,javascript compress, and Images etc..). The page load is now a little bit faster 8 seconds. When should I use Amazon Cloudfront service.? many thanks in advance. regards, saya –  Sep 27 '09 at 16:49