sanity wrote:
Hello,
I have a high traffic wordpress site called tekgoblin.com currently hosted at Mediatemple on their VE servers. It has 512m ram and no swap. Currently when I get slashdotted I can handle the traffic because its cached but I cannot run anything dynamic which is a problem.
I am asking whether or not the 712m vps offered by Linode will be able to handle the hits that I get which you can see at tekgoblin.com/mint.
If so maybe this forum and the beautiful users will be able to help me further optimize it when we cover CES in vegas next January.
Please let me know your opinions or any more information you may need from me.
reposted from a wrong category that I wrongly posted in.
Welcome to Linode! What's up!? I came from MT also.
Wow your traffic really picked up the last two days. Congrats! Nice blog by the way.
In my opinion, I don't think you'll have any problem with the basic $20 Linode. Your best month was 60,351 pageviews, no problem! Unless you're running some crazy-intensive plugins, I bet you could 5x your best month and not notice any difference.
Then again, I'm running Nginx. I actually have no experience with Apache so I can't really compare results for you.
In my experience with WordPress, the main bottleneck is MySQL. It takes up the most memory and most CPU time, by far.
One thing you can do is scatter some little PHP micro-timers throughout your theme to see where you're experiencing slowness with MySQL. I noticed Wordpress.com does this too. This is a good way to find problematic MySQL queries.
For example, I think WordPress has this problem where it doesn't "LIMIT" some selections. So if you have a lot of comments, you might save HOURS of CPU time just adding "LIMIT 50" (or however many comments per page you show) to the "SELECT" in wp-comments.php, or whatever the file is that shows comments.
I'm no longer afraid to hack the "core" of WP now, which is why I won't upgrade my main site to 3.0, LOL. Most of the new stuff they're adding now is cosmetic. Anyway, that's another rant, and I could always upgrade if I had to--just remember to redo the little tweaks here and there.
Anyway, if you get stuck, feel free to IM me on Skype: pjbrunet or email me: pj at pjbrunet.com