5 Ways to Punish Your Server


By Jonathan on February 1st, 2010 in Hosting

fire alarm 5 Ways to Punish Your Server

WordPress has a very bad reputation when it comes to taxing a server. It’s known for killing servers under high load, especially without caching, and at times being a resource hog.

However, running a blog, with any application, is far from the most taxing thing you can do to your server. If you are really interested in making a run at burning down your data center, there are much worse things that you can do.

While it is true that it is an apples to oranges comparison in most cases, especially since there are light and heavy apps for almost any purpose, here are five applications for a server that you need to think twice about before moving forward, lest you find out that you’ve run out of power.

To be clear, I wanted to think of things that the average web hosting user might actually do casually. Developers, for example, can do far worse things to a server but they are usually more aware of the potential damage and, thus, don’t need as much warning.

5. Streaming Media

Streaming audio or video may not fry a server in the way that thousands of users pounding a database can, but there is no doubt that they can bring it to a crawl.

Hosting large media files on your server is a strange form of suicide. As more and more people access your media directly, it takes away bandwidth and resources from actually serving your site. In short, the “tubes” leading to and from your server can easily get so clogged with people trying access your media that they can’t reach your pages or cause them to load slow. Worse still, if you have a bandwidth cap, it’s very easy to find yourself going over it.

Streaming media from a shared hosting account is asking for trouble. It’s better to avoid it altogether.

Alternatives: Use a CDN to host your static files. They are faster and, in the long run, cheaper usually. If that fails, find a good media host like YouTube or Talkshoe, both of which are free.

4. Shopping Carts

The reason why blogs can be taxing is that, in addition to running PHP, they make a lot of queries to a database. They pull the post, the author, the comments, the images and almost every element from the database.

However, shopping carts have that same issue many fold over. Descriptions, sizes, prices, images, titles, sales, reviews, comments and every little element is stored in a database and must be called on every page load. A moderately busy shopping cart can be worse than a very busy blog.

Shopping carts, especially older ones, can be very taxing and should be used with caution. Though a shared hosting account can withstand the load of a small store, as traffic grows you may find yourself having to move up sooner than expected to keep speed and stability high.

Alternatives: First, make sure you are using a modern shopping cart, such as Zen Cart, rather than OSCommerce, which it is based upon. The newer carts are more streamlined and easier to use (thus harder to screw up). Other systems, such as Store Sprite, are also leaner than their ancestors.

3. Full CMS Applications

Though content management systems like Drupal and Joomla certainly have their place, they can put quite a tax on a shared hosting account too.

The reason is that these sites have a lot of elements including forums, polls, download sections and other elements that require more work from the server, even if they aren’t being widely used. Templates for these sites tend to be much more complicated and all of the extra elements translate to more weight being put on the server.

Though many are able to run these systems on smaller shared accounts, it is something of a risk, especially as traffic begins to pick up.

Alternatives: If you are running a blog or a blog-driven Web site, you’ll probably do better with WordPress. Not only is it lighter but hosts are more familiar with it. If you must use Drupal or another full-fledged CMS, disable features you aren’t using and take advantage of their caching ability to try and lighten the burden.

2. Forums

Shopping carts, blogs and CMS applications can all be taxing, but they are all also one-way. The site owner posts material to the site, others read it. Other than comments, users don’t write much to the server and there isn’t too much activity at any one time.

Forums, however, are two-way streets. Users read forums and write to them almost constantly. This keeps databases very active and, in times of high stress, can send them crashing down.

If you get too many simultaneous users on your forum at the same time, you’ll likely be forced to upgrade your hosting just to keep up with the demand. Sharing hosting and even grid hosting accounts will likely buckle under the weight.

Alternatives: You can use a lighter message board system, like bbPress but that only helps some. Your best bet, usually is to just use caching, if available, and make sure that you have a server powerful enough to host your forum. Also, you can try using a hosted forum, such as Proboards, which are designed to handle the load.

1. Chat Rooms

Chat rooms are practically instant death to a shared hosting account. In fact many, if not most, Web hosts strictly forbid running chat rooms on their servers.

The reason is because the connection is constant. Every user is constantly connected to the server and sending/receiving information. Even just a few visitors in a single chatroom can sink an unprepared server.

Imagine having every visitor on your site refreshing a page every one to five seconds, that is very close to what a chatroom is like for a server and its easy to see how it can quickly add a lot of load to your account.

Alternatives: Don’t do it. It’s probably against your terms of service and, without a powerful server, it’s suicide. Instead, use an embeddable chat room, such as TinyChat, as they take the load off of you and are usually better quality self-hosted solutions.

Bottom Line

While it is true that a blog can be difficult on your server just about any application has the potential to under high load. However, some apps are far more demanding than others and you need to be aware of how taxing something is before buying your hosting so you know how much power to get.

That being said, it is very easy, especially for a newcomer, to not understand how taxing their intended use might be and make mistakes. This can lead to a very poor hosting experience, often one that the host gets blamed for.

Be aware of what you are trying to do and plan accordingly. Otherwise, you may be responsible for burning down your host’s datacenter, which isn’t likely to lead to a lasting relationship.

Copy the code below to your web site.
x 

Related posts:

  1. 3 Easy Ways To Choose The Wrong Web Host Previously, I likened choosing a web host to buying...
  2. Server Monitoring Services Reviewed If your site goes down at 1:00 in the...
  3. How To Find Cheap Web Hosting That Works Money is tight and everyone is looking for ways...
  4. Do You Make These 5 Server Security Blunders? Web servers are a prime target for hackers, not to...
  5. 5 Easy Ways to Save Money on Hosting With the economy being as tight as it is,...

Related posts brought to you by Yet Another Related Posts Plugin.


Tags:  

Subscribe and get $750 of webmaster freebies

  • $149 of discounts at DreamHost, HostGator & JumpLine
  • $320 free advertising at Yahoo!, Ask.com & more
  • Free trials for Mozy, WordTracker & dozens more

(We hate spam, and we'll never sell, rent or otherwise misuse your personal details - see our privacy policy)


One Comment to “5 Ways to Punish Your Server”

  1. that was nice post..now.how about a post about web tools that gets the job done without taxing the server..

    like lite on the wallet..lite on the pallet

What Do You Think?

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>