The date had almost slipped me by. I have now been living in Vegas for 1yr, 6 months longer than I really would have cared for. I moved to Vegas to get out of computers for a bit and attempt to work at one of the many clubs or casinos…. And if you know where I stand now you know that didn’t happen, and instead I ended up working for a company that does support for all of the casinos and bars instead. Time like that make me wish I didn’t give up my hosting carreer, but I am trying to work my way back into that as it was something that I can say I actually enjoyed. Anyways Vegas is hot in the summer and pretty cold in the winter, and they lack a real beach.
If you are reading this then you are seeing my site which is now hosted on WiredTree.com. I decided to move the site over there for a few reason. Granted one of the perks I have at my job is that I get hosted for free, but that also entails that I use my site for testing server changes which I am normally fine with. But now that I actually use my site for many things including my daily email I decided to move it since I have other sites to test with. So far the quality of WiredTree seems
above standard fucking sweet. As for my site I actually have a bunch of posts that I have yet to publish, I am planning on finishing them up and posting them as soon as I finish my router project (which I will be posting about soon as well)
With working in the web hosting industry I get a lot of questions or how to minimize load and prevent comment spam. I thought that I would do a quick little write up of what I have found to be the best ways to head off these issues, many of which I use here myself.
First off you want to make sure that you are running the latest and greatest version of WordPress(At the time of this writing the newest version was 2.1.3). WordPress 2.1.3 has many fixes in it and a lot of code rewrites which not only improve loading time, but also cuts down on a lot of the queries that are not needed for certain functions. And as usual the upgrade from older version to the new takes only a few minutes thanks to the great upgrade script that is included with the install.
Minimal Theme: We all love to have a theme with a ton of bells and whistles to it, but all those extra images and tables can cause a lot higher load on Apache than something that is very trimmed down.
Less Plugins: Same goes here, it is always nice to have a tag cloud, stats and handfuls of trackers. The more of these that you remove the less queries that WordPress has to make to the database, this can speed up things a log.
Here are the plugins and hacks that I have found to not only prevent spam, but give you an upper hand when combating spam on your blog.
Akismet – This is by far the best plugin to have enabled on the front line. Not only does it do a great job at catching spam, but it is written by the same folks that created WordPress so it ties in very well… oh yeah did I mention that the service is free. Note: If you are not running WordPress you can still make use of this plugin with other Content Management/Blog software.
WP-Cache plugin – This plugin alone has been shown to drop server loads from a WordPress site anywhere from 50-80%. The install for this plugin is very straight forward and you can have it up and running in a matter of minutes. With the newer version of the plugin it also has some bug fixes with the built in WordPress Cache. With in the settings of WP-Cache you can change the “expire time” from 3600 seconds to 600 seconds, this should help you out in case you ever make front page on Slashdot or Digg.
http:BL – This is a pretty new plugin that makes use of Project Honey Pot. This plugin verifies IP addresses of clients connecting to your blog against the Project Honey Pot database. You just need to enable it and then head over to ProjectHoneyPot.org and get a free account.
Post Query Accelerator – Changes the way that a variable is looked at in WordPress so some queries are cached.
Bad Behavior 2 – I have actually yet to install this, mainly because of a lack of time as there are some extra tweaks that you need to do to get this working effectively with WP-Cache. I have done some reading and this looks to be much better over Spam Karma 2, not to mention they are looking at enabling http:BL into the next version which will do away with yet another plugin.
Now if you have a Virtual Dedicated or a fully Dedicated server you can do even more to the system, and some hosting providers might even do these type of changes on a Shared platform as well.
eAccelerator – This is a great add-on for any system. It caches parts of scripts so that PHP does not have to run the file again, cutting down on CPU usage. In most cases the default settings for this after install should do you well. You can check out my article on how to install it.
Lighttpd – I am still using Apache since I am on a CPanel system, and well Apache works just fine with it. But if you want to take on the task you should look into Lighttpd. Lighttpd is a light weight web server that is getting a lot of attention since it has a small footprint and still supports many of the same add-ons as Apache.
Stay tuned for more tweaks coming soon.
Well I moved my site over to a new server tonight…. Lets see how that treats me