Lessons in Optimizing a Really Huge Blog

Up until now, I haven’t had any close experience doing server-side optimization of a highly-trafficked blog. When I say “highly-trafficked”, I mean it’s like being on the front page of Digg all day, 7 days a week.

I have had some experiences with vBulletin forums getting concurrent connections in the vicinity of 500 but a WordPress blog clocking in 1,000 concurrent connections is something else. Btw, I’m talking about Rickey’s blog on Americal Idol.

Whos Online
The blog peaks at 1,161 concurrent users during peak hours.

Here are some stuff I’ve learned so far and I hope will be of good use to other bloggers who reaches this level of traffic:

  • If you can afford it, get two separate dedicated servers to host Apache and mySQL. So we’ve got a Pentium 4 2.8GHz Dual Core with 3GB of RAM to run Apache and all static files and another Pentium 2.8GHz with 4GB of RAM to run mySQL. This set up seems better than my own Dual Xeon server with 4GB of RAM.
  • Upgrade to PHP5USD 0.09INR 7EUR 0.08CNY 0.62 and mySQL5 if you haven’t done so. Both newer versions have general performance benefits over the older ones.
  • Optimize server configurations. Most new owners of dedicated servers will have to face the challenge of having a good mix of settings in their php.ini, httpd.conf and my.cnf. Here is where you set connection limits, time outs, and memory caching/allocation. Making the most of your available server memory will determine whether your server will conk out or not when the moment strikes and the barrage of traffic comes in.
  • PHP Opcode Caching. There are several free ones available such as eAccelerator, Alternative PHP Cache (APC), and the XCache. These are basically frameworks for caching and optimizing PHP intermediate code and really helps if you run a lot of WP plugins.
  • For WordPress blogs, running WP Super Cache is highly recommended. You can also use PHP Speedy to compress and speed up page deliveries.
  • Monitor. Tweak. Optimize. Wash, rinse and repeat. You won’t hit it the first time and it’s gonna be frustrating. Just watch out for the peak hours, log the volume of traffic, watch their behavior (commenters vs. viewers) and tweak again based on that volume.

As for the cost, it depends and will vary between a hundred dollars to a couple hundred. Server management is the most expensive IMO as they charge as much as $75PHP 4,401INR 6,356EUR 71CNY 546 per hour just to take a look at your server.

And no, a 500GB + 5 terabyte $20PHP 1,174INR 1,695EUR 19CNY 146/month shared hosting will not cut it. They’ll kick you out before your blog can even reach 1TB.

Abe Olandres
Abe Olandres
Abe is the founder and Editor-in-Chief of YugaTech with over 20 years of experience in the technology industry. He is one of the pioneers of blogging in the country and considered by many as the Father of Tech Blogging in the Philippines. He is also a technology consultant, a tech columnist with several national publications, resource speaker and mentor/advisor to several start-up companies.
  1. Thanks for the tips Abe, I was contemplating the same thing… Got a directory site before with huge traffic which 90% are bots. I didn’t receive any notice from a Phil. host, they just closed the account. So it is always good to have a dedicated hosting…

  2. Nice server optimization tips. If you are “earning much” from your blogs then I would like to add the idea of co-locating your servers to a nice colo-company where you can get a bigger bandwidth (T1/E1/T3/DS3/ATM etc) at a lower price.

  3. – Use a software/hardware Load Balancer.
    – If your memory is ok, the bottleneck usually is MySQL. Do a MySQL replication to distribute the mysql load to multiple servers without compromising data integrity.
    – Cache ,cache and cache. Opcode caching is ok. Memcache would be best if you set up a clustered server.

  4. Very nice tip! I agree to Lintek for his comment. I know there are few hosting company that host highly traffic website like media temple. In hostmonster they host 15terabyte of hosting space and transfer.

    By the way nice mobile website this post via mobile device.

    Keep up the good post abe!

  5. Rickey is the man

  6. I use rdns between 4 quad xeons for mp3-codes.com. consuming about 200TB’s of bandwidth/month.

  7. Ey Abe, am clocking in at around 3K per day now. Got a bandwith limit error already on my host. Got suggestions on which hosting plan has most bang for the buck?

    Thanks

  8. For people who cant afford a dedicated server you can try a host that uses a grid server technology or a something like split shared technology, actually im planning to move to a split shared host but im still reviewing this host its $25/month compared to my current host which is $9/month so theres a big difference.

  9. @GMTristan – have you tried doing some caching for your WP like the SuperCache? Or if you hosta lot of media files, you may want to remote host most of them to save up on bandwidth. You may want to look into MediaTemple later on though.

  10. yuga/gmtristan – check webhostingtalk.com before getting your host, check for their review, there are threads about media temple thats why I didnt get a host from media temple yet, im stil checking their reviews.

Leave a Reply

Your email address will not be published. Required fields are marked *

yugatech x epson

Latest Review

OPPO Find N5 Review
realme 14 Pro+ 5G Review
ASUS ROG Flow Z13 2025 Review
Chuwi Minibook X Review
Samsung Galaxy A36 5G Review

Latest Guide

A Look Inside Grab’s IoT Innovations at Grab HQ After GrabX2025
Top 10 AFFORDABLE 65-inch 4K TVs To Buy In The Philippines (Q1 2025)
BEV, Hybrid, PHEV: An Explainer for the Common Filipino Driver
2025 Postpaid Fiber Plans in the Philippines: PLDT, Globe, Converge, Sky
Top Apple products to kickstart the New Year through Home Credit

YugaAuto

Connection issue detected. Retrying in 2 seconds... (1/3)

YugaMoto

Connection issue detected. Retrying in 4 seconds... (2/3)

YugaGaming

Connection issue detected. Retrying in 8 seconds... (3/3)

AskYuga

This feed may not be accessible from your current location due to regional restrictions. You may need to use a VPN or contact the site administrator for assistance.
Lessons in Optimizing a Really Huge Blog » YugaTech | Philippines Tech News & Reviews Statcounter

Yearly Device Database

Smartphone pricelist Philippines 2024

Smartphone pricelist Philippines 2023

Smartphone pricelist Philippines 2022

Smartphone pricelist Philippines 2021

Smartphone pricelist Philippines 2020

Popular Topics

What We Do

YugaTech | Philippines Tech News & Reviews
© 2024. All Rights Reserved.