WordPress.org

Support

Support » Miscellaneous » Handling a large amount of traffic

Handling a large amount of traffic

  • I wanted to find out what tips the community had about handling a large amount of traffic.

    Our site is currently being hit by a large amount of traffic from Digg.com (we’re the 4th post on the homepage). So it’s seriously hitting our server and it killed mysql. We had to throttle things.

    I have the cache eneabled in WP 2.0 and I reduced the number of posts that display on our homepage.

    I have permalinks enabled.

    What other things do you all suggest for handling traffic like this? I’d like to get far more traffic than I am getting now and so need to know what the Pros do to handle it.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Look at plugins you have and remove any that use the database a lot would be the first course of action.
    What is activated ?

    Hi Podz, I have these plugins active.

    * Paged Comment Editing
    * Jalenack’s Wordspew (I disabled this when my huge amount of traffic arrived)
    * WP-ContactForm
    * Shortstat

    You could try reducing the number of posts you put on a page (under Options/Reading) I counted about 14 posts, which is quite a number of posts per page for the traffic you’re getting.

    Doesn’t Shortstat do a query per page or something to record the vistor? It may be a good idea to disable that for a while.

    And it may just be time to upgrade to a semi-dedicated or something. WordPress can handle it (my WP powered site was like #3 or so a while back on Digg and we commonly get 40k+ pagehits a day), but like any web software, it needs resources to handle it.

    I’ll disable Shortstat next time this happens. Good idea.

    WP-Cache. If you don’t have it, and you’re planning on submitting to Digg, Slashdot, etc., get it. That’s the only way to truly offset the slaughter.

    In order for some other plugins to get called (stats, etc.), you may need to modify your theme/approach — they need to either be specially-wrappered, or hit via javascript or IMG-faked invocations.

    I also strongly suggest that you have people link to single pages, rather than the homepage, whenever possible.

    -d

    An aside: To clarify, I though wp 2.0 had built in cache type features. Does wp-cache provide any benefit?

    I had the cache enabled and working prior to the Digg. Still didn’t help. I don’t even know what it does. It makes files though so I suppose it’s working.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Handling a large amount of traffic’ is closed to new replies.
Skip to toolbar