For the purposes of this post, I’m going to assume that the reader is a relatively normal person, and not a raging egomaniac, or a nihilistic sociopath - investment bankers, you might want to stop reading now ;). Still with me? OK. So, I don’t know precisely what you do for a living; given my usual readership you’re quite likely to be a software developer, but I believe this applies pretty universally.
I’m an avid believer in the value of ‘playing the long game’ - that is, the concept that it’s worth foregoing short-term benefits, or indeed enduring short-term pain, in pursuit of a more significant long-term gain. This kind of thinking is a basic requirement of anyone who has chosen to run their own business at some point, because it’s always easier and more immediately financially beneficial to take a ‘safe’ job offer rather than to leap into the unknown, a place of short-term cash flow issues and uncertain future gains.
If you haven’t come across them already, I strongly recommend you take a few minutes with this HBR blog: In Defense of Polymaths, and also Adam Savage’s commencement address to Sarah Lawrence. Both are insightful pieces on the fallacy that is the tendency to believe that specialism in a narrow field is the answer to a fulfilling life experience, and ultimately to ‘success’, whatever that means - usually money, possessions and peer recognition.
Well as planned and as discussed in my previous post, last weekend we switched ogre3d.org from a dedicated server running Apache, to a virtual private server running Nginx. How did it go? Well, surprisingly well in fact. I say ‘surprisingly’ not because it was a casual throw-of-the-dice affair - I did a lot of preparation and testing - but because I’m old enough to know that nothing ever goes completely to plan, and we didn’t have any (cost effective) way to test the full server load ahead of turning it on.
If you limit your reading material to articles on TechCrunch and similar sites, you’d get the impression that to succeed in business requires that you plan to scale to a massive level. The received wisdom is that if you’re not targeting a user base of several million, and are not raising capital in Silicon Valley commensurate with that aim, then you’re not doing it right. This is nonsense, of course. It simply reflects one end of the spectrum of business ventures - that which is high-risk and high-reward.
The Ogre3D website has been running on a dedicated server for about 7 years now; this is relatively expensive, but when we moved away from the shared hosting that Sourceforge generously provided, but which we had outgrown, our initial foray with a VPS (at the time lighttpd on Linode) proved inadequate for our needs, so after a month of futile tuning we gave up and went fully dedicated.
Time has moved on of course, and virtualisation technology is considerably better than it was in 2005. I’d intended to try again soon anyway to reduce Ogre’s overheads but our Adsense revenue was still covering the cost and I hadn’t got around to it yet. Then suddenly, Google pulled our ads after a mistaken (I believe automated) conclusion that we were hosting copyrighted material - a few users had posed test binaries of their own work on MediaFire and similar ‘red flag’ download sites - and all of a sudden we were leaking money. The misunderstanding was sorted out with Google within a few days, but even so it illustrated that we should probably look to move to a cheaper solution if we can so we have less exposure.
The Ogre site’s main issue with performance is Apache’s memory usage under load, so given a VPS is more constrained I wanted to address that. Enter Nginx, stage right.
Well, yes - and my apologies if you’ve already seen these. In celebration of the new blog and before I’ve polished any new entries for it - I often write & refine my posts over several sessions, I find the content is better that way - I thought I’d flag up three posts from this blog that I’m particularly satisfied with, and that I think resonated well with people. Work 2.
As I promised, I’ve given this blog a bit of an overhaul in anticipation of posting more often again. For those who are interested, here’s a run-down of the updates: New responsive design Responsive design is all the rage these days; in summary, it’s all about making your site adapt fluidly to the reading environment so it looks good on a variety of devices, even resizing images so they always fit.
Apple kept everyone on tenterhooks this year by announcing WWDC 2012 very late - the second latest announcement ever in fact. Like many other people (11,000 of them I hear, which is alarming given that there are only 5,000 tickets to the event) I signed up to WWDC Alerts, which sent me an SMS message while I was having lunch, only a few minutes after the tickets went on sale. That I was lucky enough to bag myself a ticket has a lot to do with that - about 90 minutes later, they were all gone - so big thanks to fellow Brits Anthony Herron and Aaron Wardle for running that, completely free of charge too.
I’ve been shamed by Scott Hanselman into realising that I’ve been neglecting my blog recently, and using Twitter as a poor surrogate for more detailed commentary, something I plan to address in the next few months. Google+ acted as a sort of halfway house for a while too, but a combination of their lack of mobile updates, a terrible new desktop design, and the realisation that my blog does a better job of forming a permanent archive of my musings mean that I’m unlikely to use it very much beyond linking now.