Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

Surviving The Digg Effect On Something Other Than F'ing Wordpress

By: Anthony Kristovich III Home | Internet-and-Business | Web-Design


Ok, the wp-cache plugin for wordpress has been out a long time. It works great. Whoop-dee-f'ing-doo. Not exactly new reading, even if it is handy.

After reading another page where I feel I lost 30 seconds of my life there, I thought I'd write something.

The idea of caching is an obvious one when it comes to getting hit with a digg effect, a slashdot effect, whatever. The idea is that generating the page over and over takes resources. You take out generating the page, you take less resources to deliver content. Not exactly a new concept.

The thing is, a plugin won't always do you any good. Quite a lot of the world has websites that are not blogs. Many people use php so php pear's caching, and smarty's built-in caching work nice and easy to solve this.

Ok, this is the order I would do it if digg is slamming your server hard. More than likely, you have no caching on.

1. Grab a copy of the page, and make a static html file out of it. Voila, there goes 90% of your load(you still beat the crap out of Apache however). This keeps your server up for the moment. I say Apache because i prefer the LAMP setup, but caching is simple in asp.net as well.

2. Fix your code so it actually caches pages for at least a few mins. Even the best-optimized sql queries take time. Unless you have a decent dedicated server, the caching is a great idea. Hell, it is anyways unless you really need the page to stay fresh.

3. If neither, redirect your traffic to a mirror of your page to alleviate the bandwidth/cpu beating.

Now, hopefully when you build a site(if you code it yourself), or even if it's pre-packaged, you should run apache's ab stress tool against it and see how long it takes for your server to start to howl. Set it for a least 50 concurrent connections to simulate a good digging. It tosses out a nice little report at the end to let you know how you held up.

Personally, I think everyone of those "survive the xxx effect" come down to caching. Without it, there aren't many servers that can take generating that fast. This is for dyanmic content, I should say. Not much to say, but I just thought I should throw in a couple of cents too.



Article Source: http://www.eArticlesOnline.com

About the Author:
If you like this, at least link back to eArticlesOnline.com article directory as it's my little corner of the net.

Tags: , ,

Please Rate this Article

 

# of Ratings = 1 | Rating = 5.0/5

Click the XML Icon Above to Receive Web-Design Articles Via RSS!

Recent Related Articles From Web-Design

  • Tips To Make A Memorable Web Site
    By: Alex roderick. | Apr 19th 2007
    Thousand of people used internet in their daily routine. They people visited thousand of site in a single minute. But few people take interest to stay on a single site more then 15 second. Read

  • Information Products - On The Internet And Beyond
    By: Larry Didrikson | Aug 10th 2007
    Deciding to start an online business can be both exciting and intimidating. The choices available can easily become overwhelming. It definitely pays to do your research up front. Then, once you've decided on a path to take, you should stay the course until you begin to see results. Far too many individuals jump from opp ... Read

  • Zipping It All Up

    You know exactly where you are going, what flights to take, where to stay and that you'll have a grand time. Of course, you already know what to pack. But how do a gazillion stuff like make up kits, five swimwear sets, a dozen clothes and Havaianas fit perfectly in a luggage?

    Start it off by creating a packin ...
    Read

  • Making Money Online - Sifting Through The Hype
    By: Pete Osog | Dec 23rd 2008
    Wouldn\'t it be interesting to know what content of a sales page is actually true, or could be true for the average person? What I\'ve learned is that there is no quick fix or get-rich hype that is real. I bought all kinds of products, jumping from one hyped program to the next. I tried it all, but I lacked focus! The key i ... Read

  • Getting Great Deals Through Your Travel Agency
    By: Jeremy_Foster | Feb 10th 2009
    Many people think that getting travel deals on the Internet is the way to go. The reason for this is that there is very little overhead involved.Always remember to travel time periods. travel agents work on special computer systems that provide access to the world’s discounted travel packages. You should tell your travel ... Read

  • Yoga Tips For Great Mornings
    By: James Pendergraft | May 19th 2009
    The perfect and most advisable time to do yoga is early in the morning. It can be done at almost any time of the day but the benefits you get from your Yoga exercises are fully appreciated and will take into effect when done in the morning. Read

  • 7 Ways Google Could Shake Up Your Year
    By: Lauren Hobson | Jan 20th 2010
    Love it or hate it, Google has an enormous amount of influence over the way in which we find information, communicate with others online, and consume information on the web. Google is so big and powerful that when it announces a new feature, changes an algorithm, or updates its database, the ripples are felt world wide. So ... Read

  • Have You Been Dugg?

    For any Webmaster that keeps a keen eye on their site analytics, and all the good ones do, it is always a pleasant surprise to see a new and unexpected source of traffic. Until recently, unless you owned a technology based website, it was unlikely you would have seen Digg as one of those emerging traffic sources. However, t ... Read

  • Legitimate At Home Work For Stay At Home Moms
    By: Alan M | Nov 19th 2008
    The number of stay at home moms has greatly increased over the past few years. With the economy in the worst state ever, legitimate at home work for stay at home moms is becoming a more viable income source. Moms are finding it easier than ever to earn a nice income from the comfort of their home. If you're a stay at home m ... Read

  • Rely On The Experts When Planning Your Golf Holidays
    By: Chris Robertson | Oct 17th 2007
    Online resources can provide you with a trove of information and essential tools to help you plan your next golf vacation itinerary. Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy