WordPress.tv: This (Past) Week on WordPress.tv: Nov 8—Nov 14


I’m a little late to the party this weekend with last week’s recap, but we have a special request for all you viewers, so let’s get down to it.

This week we published one WordCamp video and one tutorial—a little light considering recent weeks, but this week also saw a great livestream from WordCamp Phoenix. I hope you were able to watch it—there were some great sessions included and we’re hoping to have them available on WordPress.tv soon.

The WordCamp video from was WordCamp Netherlands: Liz Strauss’s presentation entitled “Meeting Your Audience Where They Are.” If you’re interested in community-building or in building a personal brand, it’s definitely worth a look.

On the tutorial side, we published a run-through by Tom Johnson on running a local copy of WordPress using WampServer. Local copies can have tremendous development potential; if you regularly develop themes or plugins, or just like to tinker with WordPress, local installation can be a great help.

So here’s the special request: I’d like you to take a moment and think up one thing—just one thing—you’d like to see covered in a video tutorial here at WordPress.tv. It can be anything WordPress-related, but here’s an exercise to focus your thinking.

Think of questions like: What do I wish someone had told me when I started using WordPress? What kinds of things seem hard at first but really aren’t once you get down to it? What feature of WordPress do I wish more people knew about and used? What’s the feature, plugin, or whatever that gives me an awesome productivity boost or makes me a better WordPress user?

Come up with one thing you’d like to see covered in a future video tutorial, and then send us an email using our handy contact form. We’ll take a look at those suggestions and report on them in a future week’s recap so you know what your fellow community members are asking for.

Until then, stay tuned for more WordPress.tv!

November 16th, 2009 | Comments Off

Dougal Campbell: Server Reconfig

This blog will be moving to a new server very soon. If all goes well, you shouldn’t notice a thing. But just in case, I figured I’d give a warning, so that if you try to visit and you get an error, or the site won’t come up, you’ll know to just come back again later instead of thinking that my site was an early victim of the 2012 apocalypse or something.

I’m doing more than just moving onto a new server though. I’m moving to a new hosting provider, and I’m reconfiguring many aspects of how my services are set up. If you’re interested in the technical nitty-gritty, read on.


Some of you might recall that a little over a year ago, I moved from my original hosting onto Slicehost. I am now moving again, to a service called prgmr.com. I’ve had no problems with Slicehost, but the pricing for prgmr.com is lower, which made it possible for me to expand from 2 servers to 4 servers for less money.

Slicehost VPS hosting is pretty no-frills. You get a server with an initial OS installed on it, and a web-based management tool with some DNS tools and a Java applet console. With prgmr.com, it’s even more no-frills, because the console isn’t web-based. It’s SSH all the way, baby. It’s not for everybody, but it suits me fine. And even though I have more servers, it reduces my monthly hosting costs by about 40%. That said, I’m also reducing my virtual CPU power and disk space a little bit, and Slicehost has multiple facility locations, which might be factors for someone else shopping for hosting. For me, the ability to afford more servers was pretty high up.

So, that said, let’s look at what I’m changing in my setup, and why I felt it was important to move up to 4 servers.

All along, even before Slicehost, I have had trouble dealing with traffic spikes on my web server. I’ve used WP Super Cache and W3 Total Cache. I’ve used XCache for PHP code caching, and for my WordPress object cache. I’ve configured Apache to set caching headers for static files using mod_expires to reduce requests. But I still get load and memory spikes that grind my server into dust. That shouldn’t happen with only 200 visitors per hour (granted, a page view can generate about 50 HTTP requests). Obviously, I’ve configured my server poorly.

Like many large PHP applications, WordPress can be a bit hungry for memory. So when it fights against MySQL and an in-memory object cache for resources, things can start to get dicey. And of course, I’ve got a few other things on the server. When I get hit by a traffic spike (popular article, spammer runs, errant search spiders, etc), memory goes away fast. The machine starts to swap, things get slow, load average spikes as processes begin to wait for resources, and it all snowballs. I’ve got some homemade scripts that keep an eye on things and attempt to restart various services in order to force things back into line, but it’s a pretty heavy-handed way to deal with the problem.

In my new setup, here’s what I’m doing to fix it:

  • I’ll be running Apache, MySQL, and Memcached all on separate servers, instead of together on one host.
  • I’m switching from the Apache pre-forking model to the threaded worker model.
  • I’m switching from mod_php to FastCGI (mod_fcgid) and php-cgi.

There will probably be other tweaks, as well, but those are the biggies. I’m expecting this new setup to handle waaaay more requests than the old one. Oh, and I’m definitely open to any pointers from performance tuning gurus. Please share links and tips!

When the switch-over happens, there might be a period of transition while the DNS changes propagate. I don’t plan to post again until I’ve moved this blog fully to the new host. So you’ll know it’s happened when a new article appears here.

Related posts:

  1. Roadwork Next 15 Miles
  2. Now on Slicehost: Me!
  3. W3 Total Cache Plugin

November 13th, 2009 | Comments Off

Weblog Tools Collection: WordPress Theme Releases for 11/14

Base

Base

Simple two column theme with shades of blue that you can use to customize your site

Martial Arts Lover

martial

A nice, clean, dark and simple wordpress theme with one right sidebar.

5 Girl-Inspired Free WordPress Themes

Doodles

Set of five two column, widget ready themes

WP Commerce Flex

wp-commerce-flex

It features a variety of options, solid SEO-friendly CSS layout that is easily customizable, and built for seamless integration with PHPbay and PHPZon.

Polka Dots

Polka Dots

It’s widget-ready, adsense-ready, and 3-columns.  Colors: brown, white, aqua, green, chartreuse, yellow, orange, red.

November 13th, 2009 | Comments Off

Peter Westwood: Beta Testing in your language


Thanks to Naoko McCracken the WordPress Beta Tester plugin is now fully translatable and also has a Japanese translation out of the box.

WordPress Beta Tester with Japanese translation enabled

WordPress Beta Tester with Japanese translation enabled

Hopefully this will make it easy for Japanese WordPress users to get involved in the Beta Testing of WordPress 2.9 in the coming weeks. If you would like to submit a translation for your language then you can download the pot file from the WordPress plugins Subversion repository here: wp-beta-tester.pot. If you send me the po and mo files I will add them to the repository and release an updated version of the plugin.

November 13th, 2009 | Comments Off

Alex King: Appearing on WordPress Weekly (next week)

I’m going to be on the WordPress Weekly podcast next Tuesday (dialing in from the Bay Area, hopefully will find a spot for the interview that will work OK). There is a thread at WP Tavern for people to post questions they’d like to hear me discuss.

I think there are a lot of very interesting things to cover about the new affiliate program from the WordPress HelpCenter, monetization and supporting the WordPress development community. So far it looks like some folks would like to hear about Carrington as well – I’ll be happy to try cover that as well.

Feel free to post questions in the comments here if you like and I’ll pass them along.

November 13th, 2009 | Comments Off

Weblog Tools Collection: I Wish I Was At WordCamp

If you’re looking for a cool way to keep tabs on what’s shaking at WordCamp New York this weekend, check out this site created by DimensionMedia called IWishIWasAtWordCamp.com. The site contains feeds from a few notable Twitter accounts that will be tweeting during the event as well as the important hashtag Twitter widget which goes above and beyond single accounts. Near the center of the site is a collection of photos published to Flickr but some of the photos are from the wrong WordCamp. This should be fixed by only aggregating photos that are using a unique tag such as the event Twitter hashtag. Near the bottom are even more Twitter accounts. The only bad thing about this page is that asides from the hashtag widget at the top, the rest of the page requires refreshing in order to see new information. Hopefully, Dimension has a decent server to put up with the load but I would have used the cool new Twitter widgets to see updates as they happen.

If you have any feedback, let him know in the comments!

November 12th, 2009 | Comments Off

WordPress 2.8.6 Security Release

2.8.6 fixes two security problems that can be exploited by registered, logged in users who have posting privileges.  If you have untrusted authors on your blog, upgrading to 2.8.6 is recommended.

The first problem is an XSS vulnerability in Press This discovered by Benjamin Flesch.  The second problem, discovered by Dawid Golunski, is an issue with sanitizing uploaded file names that can be exploited in certain Apache configurations. Thanks to Benjamin and Dawid for finding and reporting these.

Get WordPress 2.8.6.

November 12th, 2009 | Comments Off

WordPress.tv: Installing WordPress Locally Using WampServer

November 12th, 2009 | Comments Off

Weblog Tools Collection: WordCamp Phoenix Live Video Stream

This weekend will be packed with WordCamp goodness starting with WordCamp Phoenix on Friday the 13th and WordCamp New York on Saturday the 14th as well as Sunday the 15th, both of which still have tickets available. However, if you can not make it to WordCamp Phoenix, the great news is that it will be live video streamed in its entirety thanks to their sponsorship with GoDaddy. Simply point your browsers to their Live Video page and the event will be streamed starting at 9AM Mountain time. Also check out the schedule of events in case you only want to tune in during a certain session.

Because of a lack of WiFi and bandwidth at WordCamp New York, there will be no live audio or video streams.

*UPDATE* Just found out that WordCamp Victoria in Canada is also this weekend.

November 11th, 2009 | Comments Off

WP Blackberry: Speed Improvement, UI Enhancements, and Video Library Support


We are inching ever so close to the 1.0 release, with today’s beta version 0.9.0.169 update available at http://blackberry.wordpress.org/install

Here is what’s new:

  • Based on all the great feedback, we reworked much of the UI layout for the main view, blog view, and media view
  • Ability to upload videos from your media library
  • New option to set media file properties (filename, caption, title, and position)
  • Created a new file browser that resembles the native BlackBerry file browser
  • Big improvements in the speed at which you can view and manage comments
  • Lots of optimizations for uploading photos and videos using base64 encoding
  • Indonesian language support updated thanks to Kate of Pixel Insert
  • Improved French language support thanks to Yann Nave of blog.onbebop.net

Here are a few screenshots of the new beta:

If you are running one of the latest versions of the app, it should prompt you to upgrade. If not, you can always download the latest version by pointing your mobile browser to: http://blackberry.wordpress.org/install

And always, if you have any issues, please post to the forums so we can effectively track and respond to the issue:  http://blackberry.forums.wordpress.org/

November 11th, 2009 | Comments Off