Site Notes

Update on Recent RTH Slowdowns

By Ryan McGreal
Published December 14, 2010

If you visit RTH semi-regularly, you may have noticed slow response times and intermittent timeouts lately. I contacted our hosting provider, Webfaction, to report the issue.

It turns out another user on the same server has been running non-optimized database queries that are sucking up the server's memory and slowing down other processes - like the webserver running RTH.

Webfaction are working to reduce the load on the server, help the other use debug the poorly performing queries and, as they put it, "keep performance hits to a minimum."

When it works properly, shared hosting hits a sweet spot of affordability, managed server administration and a lot of flexibility to install applications (through SSH access if you're curious).

The downside is that a number of websites run on the same machine and share the available resources, including bandwidth, memory and hard drive space. That means one unruly user can compromise the performance of the other users on that machine.

It might be a good idea to start thinking about moving RTH to its own virtual private server (VPS), with dedicated bandwidth and memory that other users and their processes can't impact.

The downsides to this option are a) having to pay higher hosting costs and b) having to take on full responsibility for administering the server.

More to come as the situation develops.

Ryan McGreal, the editor of Raise the Hammer, lives in Hamilton with his family and works as a programmer, writer and consultant. Ryan volunteers with Hamilton Light Rail, a citizen group dedicated to bringing light rail transit to Hamilton. Ryan wrote a city affairs column in Hamilton Magazine, and several of his articles have been published in the Hamilton Spectator. His articles have also been published in The Walrus, HuffPost and Behind the Numbers. He maintains a personal website, has been known to share passing thoughts on Twitter and Facebook, and posts the occasional cat photo on Instagram.

10 Comments

View Comments: Nested | Flat

Read Comments

[ - ]

By wentworthst (anonymous) | Posted December 15, 2010 at 06:03:48

"a) having to pay higher hosting costs and b) having to take on full responsibility for administering the server."

Why take on time or cost, considering this site is no bandwidth pig, nor all that complex to generate..?

IMHO, you could get everything you need from a large host like GoDaddy... Yes-- those U.S. commercials are truly awful, but so is that market. Bandwidth is unlimited and those sprawling nameserver-farms never go down.

Check out those hosting prices before you decide on the move.

Permalink | Context

[ - ]

By Wentworthst (anonymous) | Posted December 15, 2010 at 12:22:05

Would assume a VPS at Godaddy would be no different, just cheaper and more reliable. Maybe the long-run trouble really lies in inventing you own wheel; even CNN uses my "vanilla .php" Wordpress now.

Permalink | Context

[ - ]

By adrian (registered) | Posted December 15, 2010 at 14:34:07

If you know a company, like a design agency or something, that has dedicated servers on contract already, perhaps you should contact them to see if they'd be interested in hosting it for a reasonable fee.

Permalink | Context

[ - ]

By bob lee (anonymous) | Posted December 15, 2010 at 16:06:54

happy to donate to a worthy cause

Permalink | Context

[ - ]

By Ted Mitchell (registered) | Posted December 15, 2010 at 18:10:09

Commodity hosting providers are great if you're running a vanilla MySql/PHP site on Apache with FTP access. RTH is built on a different enough stack of technologies that trying to get it to run on something like GoDaddy would be a constant aggravation (not to mention slow - the code would likely have to run as a CGI script circa 1995).

Would assume a VPS at Godaddy would be no different, just cheaper and more reliable. Maybe the long-run trouble really lies in inventing you own wheel; even CNN uses my "vanilla .php" Wordpress now.

wtf are you guys talking about? is this chick magnet speak?

happy to donate to a worthy cause

agreed.

Permalink | Context

[ - ]

By Michelle Martin (registered) - website | Posted December 16, 2010 at 09:28:21

is this chick magnet speak?

Nope.

For me, given that I do this as an unpaid hobby

Ryan, taking the opportunity to thank you again for giving writers here a voice.

Comment edited by Michelle Martin on 2010-12-16 08:29:29

Permalink | Context

[ - ]

By Pxtl (registered) - website | Posted December 16, 2010 at 10:49:32

So what kind of tech is used to implement this site? I remember you mentioning the server itself is running CentOS, but the site itself? How estoeric is it? You coded the whole thing in straight C and if I put in the right characters in a post I'll segfault the web-page? Or some high-minded obscure language that attempts to combine Erlang, Haskell, and BF?

Permalink | Context

[ - ]

By Wentworthst (anonymous) | Posted December 16, 2010 at 13:41:19

"happy to donate to a worthy cause..."

Agreed... Is there an existing fund people can contribute to?

Permalink | Context

[ - ]

By highwater (registered) | Posted December 16, 2010 at 18:48:11

Anyone who feels so inclined is welcome to buy me a beer.

Name the time and place! ;-)

Permalink | Context

[ - ]

By UrbanRenaissance (registered) | Posted December 17, 2010 at 18:13:44

Name the time and place! ;-)

Count me in too.

Permalink | Context

View Comments: Nested | Flat

Post a Comment

You must be logged in to comment.

Events Calendar

There are no upcoming events right now.
Why not post one?

Recent Articles

Article Archives

Blog Archives

Site Tools

Feeds