<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brightbox Blog</title>
	<atom:link href="http://blog.brightbox.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.brightbox.co.uk</link>
	<description></description>
	<lastBuildDate>Wed, 16 Jun 2010 16:30:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ruby Enterprise 1.8.7-2010.02 Packages for Ubuntu Hardy &amp; Lucid</title>
		<link>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-02-packages-for-ubuntu-hardy-lucid</link>
		<comments>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-02-packages-for-ubuntu-hardy-lucid#comments</comments>
		<pubDate>Wed, 16 Jun 2010 16:30:55 +0000</pubDate>
		<dc:creator>Ben Arblaster</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[1.8.7]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1147</guid>
		<description><![CDATA[We’ve built new 32 &#038; 64bit Ruby Enterprise 1.8.7-2010.02 packages for Ubuntu Hardy and Lucid. The 2010.02 release of Ruby EE includes a number of backported fixes for critical bugs in Ruby 1.8.7p249 and we recommend users currently using our 2010.01 packages upgrade immediately.
For further information on using these packages see the release announcement for our Ruby [...]]]></description>
			<content:encoded><![CDATA[<p>We’ve built new 32 &#038; 64bit <a href="http://blog.phusion.nl/2010/06/07/ruby-enterprise-edition-1-8-7-2010-02-released/">Ruby Enterprise</a> 1.8.7-2010.02 packages for Ubuntu Hardy and Lucid. The 2010.02 release of Ruby EE includes a number of backported fixes for critical bugs in Ruby 1.8.7p249 and we recommend users currently using our 2010.01 packages upgrade immediately.</p>
<p>For further information on using these packages see the release announcement for our <a href="http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-01-packages-for-ubuntu-hardy-lucid">Ruby EE 2010.01</a> packages.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-02-packages-for-ubuntu-hardy-lucid/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 LTS &#8220;Lucid&#8221; now available</title>
		<link>http://blog.brightbox.co.uk/posts/ubuntu-10-04-lts-lucid-now-available</link>
		<comments>http://blog.brightbox.co.uk/posts/ubuntu-10-04-lts-lucid-now-available#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:07:00 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1121</guid>
		<description><![CDATA[Available from today, you can now choose either Ubuntu Hardy or Lucid as the base OS when building new Brightboxes.
Ubuntu Lucid is the latest Long Term Support (LTS) version of Ubuntu with security fixes provided until April 2015. It brings a whole bunch of upgrades such as Ruby 1.8.7, Monit 5, Apache 2.2.14 and new [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1125" title="b9658977fd362bd082cd2581" src="http://blog.brightbox.co.uk/wp-content/uploads/2010/06/b9658977fd362bd082cd25811.png" alt="" width="507" height="139" /></p>
<p>Available from today, you can now choose either Ubuntu Hardy or Lucid as the base OS when building new Brightboxes.</p>
<p>Ubuntu Lucid is the latest Long Term Support (LTS) version of Ubuntu with security fixes provided until April 2015. It brings a whole bunch of upgrades such as Ruby 1.8.7, Monit 5, Apache 2.2.14 and new packages like CouchDB, Sphinx, Chef, RabbitMQ, MongoDB, ejabberd and many more.</p>
<p>We&#8217;ve treated it to the usual Brightbox Ruby deployment tune-up, including our <a href="http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-01-packages-for-ubuntu-hardy-lucid">Ruby Enterprise Edition 1.8.7-2010.01 packages</a>. Updated Phusion Passenger packages are now available on our newly Lucid-enabled <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository">apt repository</a>.</p>
<p>When buying a new Brightbox, you&#8217;ll see a combo box that you can use to select Lucid (Hardy is still currently the default). Upgrading from Hardy to Lucid isn&#8217;t really viable due to the way Hardy boxes handle kernels, so you&#8217;ll either need to request a re-image (which involves wiping your box, so make backups!) or buy a new box and move your apps to it.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/ubuntu-10-04-lts-lucid-now-available/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New: Automatically add SSH keys to new Brightboxes</title>
		<link>http://blog.brightbox.co.uk/posts/new-automatically-add-ssh-keys-to-new-brightboxes</link>
		<comments>http://blog.brightbox.co.uk/posts/new-automatically-add-ssh-keys-to-new-brightboxes#comments</comments>
		<pubDate>Thu, 03 Jun 2010 14:52:01 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1099</guid>
		<description><![CDATA[Getting access to your newly purchased Brightboxes used to require a trip to the control panel to retrieve the &#8216;rails&#8217; user password. If you&#8217;re using config management systems like Chef or Puppet this is likely the only laborious aspects of configuring your box. No longer!
Now, whenever a new box is deployed, the SSH keys of [...]]]></description>
			<content:encoded><![CDATA[<p>Getting access to your newly purchased Brightboxes used to require a trip to the control panel to retrieve the &#8216;rails&#8217; user password. If you&#8217;re using config management systems like Chef or Puppet this is likely the only laborious aspects of configuring your box. No longer!</p>
<p>Now, whenever a new box is deployed, the SSH keys of all the technical contacts on your Brightbox account are automatically pre-installed for the default &#8216;rails&#8217; user. To add your own SSH key, <a href="https://control.brightbox.co.uk/profile">edit your user profile</a> within the control panel and paste in your SSH public key using the editor at the bottom.</p>
<p><img class="content_image" title="ssh public key" src="http://blog.brightbox.co.uk/wp-content/uploads/2010/06/ssh-public-key.png" alt="" width="632" height="236" /></p>
<p>Remember, this only affects newly provisioned boxes &#8211; as the it&#8217;s done during the box build stage. Removing or adding technical contacts in the control panel at a later date will not automatically change any access control on existing boxes.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/new-automatically-add-ssh-keys-to-new-brightboxes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Enterprise 1.8.7-2010.01 Packages for Ubuntu Hardy &amp; Lucid</title>
		<link>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-01-packages-for-ubuntu-hardy-lucid</link>
		<comments>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-01-packages-for-ubuntu-hardy-lucid#comments</comments>
		<pubDate>Mon, 17 May 2010 09:00:00 +0000</pubDate>
		<dc:creator>Ben Arblaster</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[1.8.7]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1057</guid>
		<description><![CDATA[We’ve built  new 32bit and 64bit Ruby Enterprise 1.8.7-2010.01 packages for Ubuntu Hardy and Lucid. The new packages are now the default on new Lucid beta boxes. For Hardy, as before these packages are quite a major change from the default Hardy Ruby interpreter,which is 1.8.6, so we recommend you test thoroughly before putting it into production.
As [...]]]></description>
			<content:encoded><![CDATA[<p>We’ve built  new 32bit and 64bit <a href="http://blog.phusion.nl/2009/10/26/ruby-enterprise-edition-1-8-7-2009-10-released/">Ruby Enterprise</a> 1.8.7-2010.01 packages for Ubuntu Hardy and Lucid. The new packages are now the default on new Lucid beta boxes. For Hardy, as before these packages are quite a major change from the default Hardy Ruby interpreter,which is 1.8.6, so we recommend you test thoroughly before putting it into production.</p>
<p>As with our other Ruby EE packages, they upgrade (i.e replace) the standard 1.8 Ruby installation. This means all your gems stay the same, and everything on your system immediately starts using them (Phusion’s own Ubuntu packages do not work like this).</p>
<p>These packages are also the best way to get Ruby 1.8.7 on Hardy, which you&#8217;ll need if you&#8217;re playing with Rails 3.</p>
<p>If you’re on a Hardy based Brightbox, just create or edit <code>/etc/apt/sources.list.d/brightbox-rubyee.list</code> to contain the <code>rubyee-testing</code> component like so:</p>
<pre><code>deb http://apt.brightbox.net/ hardy rubyee-testing</code></pre>
<p>If you&#8217;re on one of our Lucid beta boxes provisioned before today, simply create <code>/etc/apt/sources.list.d/brightbox-rubyee.list</code> and add the <code>rubyee</code> component:</p>
<pre><code>deb http://apt.brightbox.net/ lucid rubyee</code></pre>
<p>Finally, update and upgrade libruby1.8:</p>
<pre><code>sudo apt-get update
sudo apt-get install libruby1.8 irb1.8 libopenssl-ruby1.8 libreadline-ruby1.8 rdoc1.8 ruby1.8
</code></pre>
<p>If you’re not on a Brightbox, see the <a href="http://wiki.brightbox.co.uk/docs:ruby-enterprise">instructions on our wiki first</a>. The wiki also documents how to revert back to the old packages.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/ruby-enterprise-1-8-7-2010-01-packages-for-ubuntu-hardy-lucid/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Ubuntu Lucid beta box offer</title>
		<link>http://blog.brightbox.co.uk/posts/ubuntu-lucid-beta-box-offer</link>
		<comments>http://blog.brightbox.co.uk/posts/ubuntu-lucid-beta-box-offer#comments</comments>
		<pubDate>Thu, 15 Apr 2010 07:55:06 +0000</pubDate>
		<dc:creator>George Hills</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1020</guid>
		<description><![CDATA[With the impending launch of Ubuntu &#8220;Lucid&#8221; (10.04 LTS), we are preparing our new Lucid-based Brightboxes.
We&#8217;ll still be offering Hardy-based Brightboxes, of course.
We&#8217;re now looking for volunteers beta test Lucid Brightboxes. If you&#8217;d like one to test, please email &#x6c;&#x75;&#x63;&#x69;&#x64;&#x62;&#x65;&#x74;&#x61;&#x40;&#x62;&#x72;&#x69;&#x67;&#x68;&#x74;&#x62;&#x6f;&#x78;&#x2e;&#x63;o.uk. 
Beta test Brightboxes are free, but Lucid isn&#8217;t finished and there are still bugs, so [...]]]></description>
			<content:encoded><![CDATA[<p>With the impending launch of Ubuntu &#8220;Lucid&#8221; (10.04 LTS), we are preparing our new Lucid-based Brightboxes.</p>
<p>We&#8217;ll still be offering Hardy-based Brightboxes, of course.</p>
<p>We&#8217;re now looking for volunteers beta test Lucid Brightboxes. If you&#8217;d like one to test, please email &#x6c;&#x75;&#x63;&#x69;&#x64;&#x62;&#x65;&#x74;&#x61;&#x40;&#x62;&#x72;&#x69;&#x67;&#x68;&#x74;&#x62;&#x6f;&#x78;&#x2e;&#x63;o.uk. </p>
<p>Beta test Brightboxes are free, but Lucid isn&#8217;t finished and there are still bugs, so you shouldn&#8217;t plan on running your live customer-facing sites on one yet. Once we launch Lucid-based boxes for all, we&#8217;ll be switching off the beta boxes.</p>
<p>Space on the test platform is limited, so don&#8217;t delay! There are Brightbox-goodies on offer for the best bug reports. We&#8217;ll be giving priority to existing Brightbox customers.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/ubuntu-lucid-beta-box-offer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load Balancing with Stomp and ActiveMessaging</title>
		<link>http://blog.brightbox.co.uk/posts/load-balancing-with-stomp-and-activemessaging</link>
		<comments>http://blog.brightbox.co.uk/posts/load-balancing-with-stomp-and-activemessaging#comments</comments>
		<pubDate>Wed, 14 Apr 2010 10:44:43 +0000</pubDate>
		<dc:creator>Neil Wilson</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[activemessaging]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[stomp]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1024</guid>
		<description><![CDATA[Inevitably with modern distributed software architecture you&#8217;re going to end up talking to a message queue at some point. We&#8217;ve been using ActiveMQ as the message broker, STOMP as the message protocol of choice and the ActiveMessaging gem so that we can talk to the message broker from Rails.
ActiveMessaging is a great piece of code, [...]]]></description>
			<content:encoded><![CDATA[<p>Inevitably with modern distributed software architecture you&#8217;re going to end up talking to a message queue at some point. We&#8217;ve been using <a href="http://activemq.apache.org/">ActiveMQ</a> as the message broker, <a href="http://stomp.codehaus.org/">STOMP</a> as the message protocol of choice and the <a href="http://code.google.com/p/activemessaging/wiki/ActiveMessaging">ActiveMessaging</a> gem so that we can talk to the message broker from Rails.</p>
<p>ActiveMessaging is a great piece of code, but at first glance it appears to have a couple of wrinkles</p>
<ul>
<li>The standard configuration doesn&#8217;t support load balancing (so that you can talk to another broker if your normal one isn&#8217;t responding).</li>
<li>The queues and topics you want to speak to are defined at class level &#8211; which is a problem if you want the queues to be dynamically defined based upon data values.</li>
</ul>
<p>But thanks to Ruby, YAML and a bit of lateral thinking you can get around these issues.</p>
<p>ActiveMessaging uses the <a href="http://gitorious.org/stomp">Stomp Gem</a> under the hood, and that can do load balancing by itself. So all you have to do is get ActiveMessaging to pass the relevant incantations down to the Stomp Gem &#8211; intact. And you do that with a bit of fancy YAML. The trick is to add your host configurations to the login configuration entry in hash format like this:</p>
<p><code></p>
<pre> production:
    adapter: stomp
    login:
      :randomize: true
      :hosts:
      - :login: myloginid1
        :passcode: mypassword1
        :host: broker-host-1.somedomain.co.uk
      - :login: myloginid2
        :passcode: mypassword2
        :host: broker-host-2.somedomain.co.uk</pre>
<p></code></p>
<p>The <a href="http://gitorious.org/stomp/mainline/blobs/master/lib/stomp/connection.rb">Stomp Connection class</a> checks login to see if it is a hash and if it is uses that in preference to anything else. You can setup anything Stomp understands within that Hash. Check the class code for details.</p>
<p>The beauty of this approach is that it is entirely in the configuration. Your Rails code doesn&#8217;t need to know about it. The reconnection happens automatically in the background.</p>
<p>I&#8217;ve used an observer class within Rails to handle the message sending. It watches a model and sends messages when stuff is created and updated &#8211; nicely separating the concerns. But I wanted to talk to different queues depending upon what was in the model. So the standard <code>ActiveMessaging::MessageSender</code> approach didn&#8217;t seem appropriate.</p>
<p>After a bit of digging around it turns out that you can get hold of the broker connection directly rather than going via the Gateway.</p>
<p><code>
<pre>client = ActiveMessaging::Gateway.connection</pre>
<p></code></p>
<p>Then you can send to any queue you like, not just the ones defined up front in <code>messaging.rb</code>: </p>
<p><code>
<pre>client.send("/queue/#{some_variable}", body, headers)</pre>
<p></code></p>
<p>This is a lower level connection and you lose the filter chains and some error checking. However if you need it, it&#8217;s there.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/load-balancing-with-stomp-and-activemessaging/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timezones on your Brightbox</title>
		<link>http://blog.brightbox.co.uk/posts/timezones-on-your-brightbox</link>
		<comments>http://blog.brightbox.co.uk/posts/timezones-on-your-brightbox#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:37:27 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[modrails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=998</guid>
		<description><![CDATA[You may have thought the time is wrong on your server. Well, it isn&#8217;t  really, it is just that we prefer to set the default time on Brightboxes  to Coordinated Universal Time (UTC).
This is generally considered to be best practice where ever a server is geographically located, however, it may  cause a problem [...]]]></description>
			<content:encoded><![CDATA[<p>You may have thought the time is wrong on your server. Well, it isn&#8217;t  really, it is just that we prefer to set the default time on Brightboxes  to Coordinated Universal Time (UTC).</p>
<p>This is generally considered to be best practice where ever a server is geographically located, however, it may  cause a problem if you are hosting a  geographically specific web application.</p>
<p>If your web application requires a different time-zone such as CET, BST or PST, or Daylight Saving Time is giving you a headache,  take a look at our <a title="Brigthbox timezone wiki page" href="http://wiki.brightbox.co.uk/docs:time_on_your_brightbox" target="_self">Wiki page</a> for a timely introduction to the subject of time-zones on Brightboxes.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/timezones-on-your-brightbox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brightbox sponsor the Scottish Ruby Conference 2010</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-sponsor-the-scottish-ruby-conference-2010</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-sponsor-the-scottish-ruby-conference-2010#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:30:22 +0000</pubDate>
		<dc:creator>Louisa Parry</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[John Leach]]></category>
		<category><![CDATA[ruby conference]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Scottish Ruby Conference]]></category>
		<category><![CDATA[SRC2010]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=987</guid>
		<description><![CDATA[After having such a good time at last year&#8217;s event, Team Brightbox is heading to Edinburgh again later this week for the Scottish Ruby Conference.
Again, we&#8217;re sponsoring the event and have provided hosting for the website.  Our technical director John Leach is also speaking at the conference &#8211; his talk &#8220;UNIX: Rediscovering the wheel&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><img class="right content_image size-full wp-image-988" title="Scottish Ruby Conference" src="http://blog.brightbox.co.uk/wp-content/uploads/2010/03/src-240.jpg" alt="" width="240" height="133" />After having such a good time at <a href="http://blog.brightbox.co.uk/posts/brightbox-sponsor-scotland-on-rails-2009">last year&#8217;s event</a>, Team Brightbox is heading to Edinburgh again later this week for the <a href="http://scottishrubyconference.com/">Scottish Ruby Conference</a>.</p>
<p>Again, we&#8217;re sponsoring the event and have <a href="http://scottishrubyconference.com/posts/25">provided hosting for the website</a>.  Our technical director John Leach is also speaking at the conference &#8211; his talk &#8220;<a href="http://scottishrubyconference.com/sessions#proposal_48">UNIX: Rediscovering the wheel</a>&#8221; will take place in the Great Hall on <a href="http://scottishrubyconference.com/programme">Friday afternoon</a>.</p>
<p>John, Jeremy &amp; Caius will all be attending the conference so make sure you say hi &#8211; and grab one of our always popular t-shirts too!</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-sponsor-the-scottish-ruby-conference-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passenger 2.2.11 packages for Ubuntu 8.04 Hardy</title>
		<link>http://blog.brightbox.co.uk/posts/passenger-2-2-11-packages-for-ubuntu-8-04-hardy</link>
		<comments>http://blog.brightbox.co.uk/posts/passenger-2-2-11-packages-for-ubuntu-8-04-hardy#comments</comments>
		<pubDate>Fri, 05 Mar 2010 16:02:24 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[rack]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=985</guid>
		<description><![CDATA[The last Passenger release, 2.2.10, has a bug that causes Apache to freeze when used under moderate load (Phusion say high load but we&#8217;ve seen it on quite moderate conditions).  We recommend that anyone using Passenger 2.2.10 upgrade to 2.2.11 asap.  Ubuntu Hardy packages are now available in our repository.]]></description>
			<content:encoded><![CDATA[<p>The last Passenger release, <a href="http://blog.brightbox.co.uk/posts/passenger-2-2-10-packages-for-ubuntu-8-04-hardy">2.2.10</a>, has a bug that causes Apache to freeze when used under moderate load (Phusion say high load but we&#8217;ve seen it on quite moderate conditions).  We recommend that anyone using Passenger 2.2.10 upgrade to <a href="http://blog.phusion.nl/2010/03/05/phusion-passenger-2-2-11-released/">2.2.11</a> asap.  Ubuntu Hardy packages are now <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository">available in our repository</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/passenger-2-2-11-packages-for-ubuntu-8-04-hardy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passenger 2.2.10 packages for Ubuntu 8.04 Hardy</title>
		<link>http://blog.brightbox.co.uk/posts/passenger-2-2-10-packages-for-ubuntu-8-04-hardy</link>
		<comments>http://blog.brightbox.co.uk/posts/passenger-2-2-10-packages-for-ubuntu-8-04-hardy#comments</comments>
		<pubDate>Fri, 26 Feb 2010 11:51:32 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[librack]]></category>
		<category><![CDATA[lts]]></category>
		<category><![CDATA[modrails]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[rack]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=983</guid>
		<description><![CDATA[Phusion released Passenger 2.2.10 this week, fixing some bundler compatibility bugs and a file descriptor bug that could lead to &#8220;mysterious crashes&#8221;.
We&#8217;ve built our Ubuntu Hardy packages for i386 and AMD64 architectures which are now available from the Brightbox apt repository.  We&#8217;ve also upgraded our librack-ruby packages to 1.1.0.]]></description>
			<content:encoded><![CDATA[<p>Phusion released Passenger 2.2.10 this week, fixing some bundler compatibility bugs and a file descriptor bug that could lead to &#8220;mysterious crashes&#8221;.</p>
<p>We&#8217;ve built our <a href="http://wiki.brightbox.co.uk/docs:phusion-passenger">Ubuntu Hardy packages</a> for i386 and AMD64 architectures which are now available from the <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository">Brightbox apt repository</a>.  We&#8217;ve also upgraded our librack-ruby packages to 1.1.0.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/passenger-2-2-10-packages-for-ubuntu-8-04-hardy/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Important announcement: Multiple users and accounts release</title>
		<link>http://blog.brightbox.co.uk/posts/important-announcement-multiple-users-and-accounts-release</link>
		<comments>http://blog.brightbox.co.uk/posts/important-announcement-multiple-users-and-accounts-release#comments</comments>
		<pubDate>Thu, 11 Feb 2010 18:26:58 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[announcements]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=952</guid>
		<description><![CDATA[We recently previewed some upcoming changes to how users interact with Brightbox accounts. This feature will be going live at 12:00 GMT on Weds 17 Feb and since it represents a change in behaviour for existing customers, I&#8217;ve summarised the details below.
Maintenance period
Starting at 12:00 (midday) on Weds 17 Feb, the Brightbox control panel will [...]]]></description>
			<content:encoded><![CDATA[<p>We recently <a href="http://blog.brightbox.co.uk/posts/preview-multiple-users-and-accounts">previewed some upcoming changes</a> to how users interact with Brightbox accounts. This feature will be going live at <strong>12:00 GMT on Weds 17 Feb</strong> and since it represents a change in behaviour for existing customers, I&#8217;ve summarised the details below.</p>
<h4>Maintenance period</h4>
<p>Starting at 12:00 (midday) on Weds 17 Feb, the Brightbox control panel will be unavailable for approximately 20 minutes whilst we perform the updates. One of the updates will include a migration to create an owner user account (name and email address) for all existing active customer accounts.</p>
<h4>Change of login from &#8220;username&#8221; to email address</h4>
<p>Once the above maintenance period is completed, you&#8217;ll be able to login to the control panel again as normal, but now using your registered email address to login, together with the existing password.</p>
<h4>Adding and inviting users</h4>
<p>Once logged in you&#8217;ll be able to give other people access to your account via the &#8220;User access&#8221; link.</p>
<p>It&#8217;s important to note that initially, as described below, all users that you give access to your account will have full access (apart from the ability to invite other users).</p>
<h4>Interim billing and technical roles</h4>
<p>Currently, customers are able to specify two additional &#8220;contacts&#8221; on their account &#8211; a billing contact (receives cc&#8217;ed payment email notifications) and a technical contact (receives copies of support ticket notifications and server notifications). These &#8220;old style&#8221; contacts do not have access to the account, unless the account owner supplies them with the account username and password.</p>
<p>The main purpose of this work is to enable a &#8220;many to many&#8221; relationship between users and accounts i.e multiple users can access a single account and single users can have multiple accounts. We will be introducing a more extensive permissions system into the control panel in due course, but in the meantime the four &#8220;roles&#8221; that users can have will each have <strong><em>full access</em></strong> to the account but differ in their behaviour&#8230;</p>
<ul>
<li><strong>Owner </strong>(one per account): Full access + add/invite new users to have access. The owner role is the person ultimately responsible for the account and can&#8217;t be assigned by users.</li>
<li><strong>Primary technical </strong>(one per account): Full access + single point of contact for Brightbox technical support to receive email notifications etc</li>
<li><strong>Technical</strong> (many per account): Full access.</li>
<li><strong>Billing</strong> (many per account): Full access + receive copies of payment email notifications</li>
</ul>
<p><span style="font-weight: normal;">If you have any questions about these changes and how they will affect you, please <a href="mailto:&#x68;&#x65;&#x6c;&#x6c;&#x6f;&#x40;&#x62;&#x72;&#x69;&#x67;&#x68;&#x74;&#x62;&#x6f;&#x78;&#x2e;&#x63;o.uk"><span style="text-decoration: none;">drop us an email</span></a>. </span></p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/important-announcement-multiple-users-and-accounts-release/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Full Text Indexing in Ruby with Xapian Fu</title>
		<link>http://blog.brightbox.co.uk/posts/full-text-indexing-in-ruby-with-xapian-fu</link>
		<comments>http://blog.brightbox.co.uk/posts/full-text-indexing-in-ruby-with-xapian-fu#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:17:18 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[ferret]]></category>
		<category><![CDATA[indexing]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[xapian]]></category>
		<category><![CDATA[xapian fu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=947</guid>
		<description><![CDATA[I&#8217;ve just properly announced my Ruby full text indexing library, Xapian Fu, on my personal blog.  It&#8217;s a Ruby interface to Xapian, an open source search engine Library.  Xapian Fu basically gives you a Hash interface to Xapian &#8211; so you get a persistent Hash with full text indexing built in.
For example:
  require 'xapian-fu'
  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just properly announced my Ruby full text indexing library, Xapian Fu, <a href="http://johnleach.co.uk/words/archives/2010/01/31/445/xapian-fu-full-text-indexing-in-ruby">on my personal blog</a>.  It&#8217;s a Ruby interface to <a href="http://en.wikipedia.org/wiki/Xapian">Xapian</a>, an open source search engine Library.  Xapian Fu basically gives you a Hash interface to Xapian &#8211; so you get a persistent Hash with full text indexing built in.</p>
<p>For example:</p>
<pre>  require 'xapian-fu'
  include XapianFu
  db = XapianDb.new(:dir =&gt; 'example.db', :create =&gt; true,
                    :store =&gt; [:title, :year])
  db &lt;&lt; { :title =&gt; 'Brokeback Mountain', :year =&gt; 2005 }
  db &lt;&lt; { :title =&gt; 'Cold Mountain', :year =&gt; 2004 }
  db &lt;&lt; { :title =&gt; 'Yes Man', :year =&gt; 2008 }
  db.flush
  db.search("mountain").each do |match|
    puts match.values[:title]
  end</pre>
<p>The <a href="http://johnleach.co.uk/words/archives/2010/01/31/445/xapian-fu-full-text-indexing-in-ruby">full announcement is here</a>, <a href="http://github.com/johnl/xapian-fu">github project</a> here and <a href="http://rdoc.info/projects/johnl/xapian-fu">rdoc here</a>.  Hope you find it useful!</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/full-text-indexing-in-ruby-with-xapian-fu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL slow query improvements</title>
		<link>http://blog.brightbox.co.uk/posts/mysql-slow-query-improvements</link>
		<comments>http://blog.brightbox.co.uk/posts/mysql-slow-query-improvements#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:46:43 +0000</pubDate>
		<dc:creator>Caius Durling</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql slow queries]]></category>
		<category><![CDATA[optimisation]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=933</guid>
		<description><![CDATA[We&#8217;ve just pushed some updates to the MySQL slow query warning interface in the Brightbox control panel, which includes two main improvements.
Firstly, where the same (or very similar) query occurs more than once, they are aggregated together rather than being recorded as individual slow queries. The user interface displays the count so you can see [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just pushed some updates to the MySQL slow query warning interface in the Brightbox control panel, which includes two main improvements.</p>
<p>Firstly, where the same (or very similar) query occurs more than once, they are aggregated together rather than being recorded as individual slow queries. The user interface displays the count so you can see exactly how many times this slow query occurred in the last 7 days.</p>
<p>Secondly, the full SQL query is now displayed, so customers now have more information with which to optimise their applications.</p>
<p><img class="alignnone size-full wp-image-943" title="slow_query_highlighting" src="http://blog.brightbox.co.uk/wp-content/uploads/2010/01/slow_query_highlighting1.png" alt="" width="656" height="255" /></p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/mysql-slow-query-improvements/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brightbox Gem v2.3.6 released</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:41:21 +0000</pubDate>
		<dc:creator>Caius Durling</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[recipes]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=921</guid>
		<description><![CDATA[Today I’m pleased to announce a new revision of the Brightbox Deployment Gem, version 2.3.6. This release fixes some of the issues reported to us by our users, along with a few extra features.
The documentation on the wiki has been updated with the new fixes and features. If you have any tips or find any [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright right size-full wp-image-70" title="Brightbox gem" src="http://blog.brightbox.co.uk/wp-content/uploads/2008/05/brightbox_gem.png" alt="" width="221" height="105" /></p>
<p>Today I’m pleased to announce a new revision of the Brightbox Deployment Gem, version 2.3.6. This release fixes some of the issues reported to us by our users, along with a few extra features.</p>
<p>The documentation <a href="http://wiki.brightbox.co.uk/docs:thebrightboxgemv2">on the wiki</a> has been updated with the new fixes and features. If you have any tips or find any errors just let us know.</p>
<p><span style="color: #888888;">NEW FEATURES</span></p>
<h3 id="apt_package_dependencies">Apt Package Dependencies</h3>
<p>Just as you can currently define gems your application relies on and have them automatically installed onto your servers, you can now do the same with apt packages. Define them in your <code>deploy.rb</code> and they’ll be installed <em>before</em> installing your required rubygems, which means you can use it to install apt packages that gems depend on. As an example, the nokogiri gem depends on a couple of apt packages.</p>
<pre><code>depend :remote, :apt, "libxml2-dev"
depend :remote, :apt, "libxslt1-dev"
depend :remote, :gem, "nokogiri", "&gt;= 0"
</code></pre>
<h3 id="intermediate_ssl_certificates">Intermediate SSL Certificates</h3>
<p>Support for Intermediate SSL Certificates in Apache has been added, meaning you no longer need to manually edit the Apache config files directly. Just add one line to your <code>deploy.rb</code> and the gem now takes care of updating the Apache config for you. An example SSL configuration:</p>
<pre><code>set :ssl_certificate, "my_cert.pem"
set :ssl_key, "my_cert.key"
set :ssl_intermediate, "intermediate.crt"
</code></pre>
<p>See the wiki page for <a href="http://wiki.brightbox.co.uk/docs:gemv2:ssl#intermediate_certificate">Adding SSL Support to Apache</a> for more information.</p>
<h3 id="deploylocalrb">Deploy.local.rb</h3>
<p>A common issue we’ve seen with is setting the deploy password. If you put it in <code>deploy.rb</code>, then it inevitably ends up in your source control repository, which is a bad idea. A workaround we’ve suggested in the past is to have a <code>deploy.local.rb</code> file, which isn’t tracked by source control, and load that from within your <code>deploy.rb</code> file. This allows you to have the password (or any other sensitive settings) defined, but kept outside your source control.</p>
<p>As part of this release, the gem now has official support for a <code>deploy.local.rb</code> file. If it exists, the gem will load it in for you.</p>
<p>For more information see the <a href="http://wiki.brightbox.co.uk/docs:gemv2:advancedgemsettings#deploy.local.rb">Advanced Gem Settings</a> page on the wiki.</p>
<h3 id="disable_regenerating_webserver_config">Disable (re)generating webserver config</h3>
<p>If you’ve made manual changes to your webserver (apache or nginx) configuration, then you don’t want an accidental <code>deploy:setup</code> to overwrite your configs. Up until now you just had to avoid running the command, but now there’s a setting to disable it for you.</p>
<pre><code>set :generate_webserver_config, false
</code></pre>
<p><span style="color: #888888;">FIXES AND ENHANCEMENTS</span></p>
<ul>
<li><a href="http://wiki.brightbox.co.uk/docs:gemv2:staticcache">Max Age</a> setting now accepts a number as well as a string</li>
<li>deploy:initial reloads Apache so the new config is loaded</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New: announcing the Brightbox SLA</title>
		<link>http://blog.brightbox.co.uk/posts/new-announcing-the-brightbox-sla</link>
		<comments>http://blog.brightbox.co.uk/posts/new-announcing-the-brightbox-sla#comments</comments>
		<pubDate>Tue, 26 Jan 2010 16:01:20 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[availability]]></category>
		<category><![CDATA[guarantee]]></category>
		<category><![CDATA[service level agreement]]></category>
		<category><![CDATA[sla]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=911</guid>
		<description><![CDATA[Over the last few months, we&#8217;ve been seeing increasing number of requests about our SLA (Service Level Agreement) &#8211; do we have one? if not then why not? and so on.
We&#8217;ve been reasonably resistant to publishing an SLA until now, not because of doubts over our infrastructure or ability to deliver, but because of the [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few months, we&#8217;ve been seeing increasing number of requests about our SLA (Service Level Agreement) &#8211; do we have one? if not then why not? and so on.</p>
<p>We&#8217;ve been reasonably resistant to publishing an SLA until now, not because of doubts over our infrastructure or ability to deliver, but because of the minimal value we felt it would add for customers in the event of actual downtime. We&#8217;re a pragmatic bunch at Brightbox and like to avoid adding things just for the sake of it or &#8220;because everyone else does&#8221; :)</p>
<p>However, and it&#8217;s a pretty big &#8220;however&#8221;, we understand that for many people an SLA or &#8220;uptime guarantee&#8221; is a useful gauge of whether a provider is actually willing to &#8220;put their money where their mouth is&#8221; and make a financial commitment to meeting a specific minimum target.</p>
<p>So, I&#8217;m pleased to announce that from 1 Jan 2010 (backdated) Brightbox offers a 99.95% SLA on virtual machine and load balancing products (see <a href="http://www.brightbox.co.uk/terms#sla">Terms and Conditions</a> for details). We&#8217;ll likely expand the SLA soon to also cover our MySQL products and other products currently in the pipeline, but we&#8217;ll need a different method of assessing &#8220;availability&#8221; for these products.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/new-announcing-the-brightbox-sla/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preview: Multiple users and accounts</title>
		<link>http://blog.brightbox.co.uk/posts/preview-multiple-users-and-accounts</link>
		<comments>http://blog.brightbox.co.uk/posts/preview-multiple-users-and-accounts#comments</comments>
		<pubDate>Fri, 15 Jan 2010 15:52:27 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=896</guid>
		<description><![CDATA[Right now, each Brightbox customer has a single username/password to access their Brightbox account. For many smaller customers, this works fine and they can easily operate the various aspects of their account themselves e.g manage virtual machines, billing and support tickets. However, there are also a number of scenarios where this doesn&#8217;t work too well [...]]]></description>
			<content:encoded><![CDATA[<p>Right now, each Brightbox customer has a single username/password to access their Brightbox account. For many smaller customers, this works fine and they can easily operate the various aspects of their account themselves e.g manage virtual machines, billing and support tickets. However, there are also a number of scenarios where this doesn&#8217;t work too well &#8211; especially when there are multiple people managing one or more accounts.</p>
<p><img class="content_image" title="Multiple accounts" src="http://jeremyjarvis.co.uk/grabs/5201c295c0a3d7460566ed0c.png" alt="" width="492" height="236" /></p>
<p>We&#8217;ve been developing a more robust solution for users and accounts for some time and hope to launch this new system in the next few weeks. In this post, I&#8217;d like to give a sneak preview on the forthcoming changes&#8230;</p>
<ul>
<li>Each person will have a Brightbox user account</li>
<li><span style="font-weight: normal; font-size: 13px;">We&#8217;ll be introducing a number of &#8220;roles&#8221; (tbc)</span></li>
<li>Each account will always have an &#8220;owner&#8221; contact, this person is ultimately responsible for the account</li>
<li>Existing Brightbox account holders will be migrated to a new owner contact</li>
<li>The account owner will be able to invite additional users to their account</li>
<li>The control panel will enable users with access to multiple accounts to easily move between the accounts to which they have access</li>
</ul>
<p>Over the next couple of weeks, all customers will receive an email explaining the changes and the migration process.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/preview-multiple-users-and-accounts/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Passenger 2.2.9 packages for Ubuntu 8.04 Hardy</title>
		<link>http://blog.brightbox.co.uk/posts/passenger-2-2-9-packages-for-ubuntu-8-04-hardy</link>
		<comments>http://blog.brightbox.co.uk/posts/passenger-2-2-9-packages-for-ubuntu-8-04-hardy#comments</comments>
		<pubDate>Fri, 08 Jan 2010 12:24:16 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[mod_rack]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[phusion]]></category>
		<category><![CDATA[rack]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=893</guid>
		<description><![CDATA[The Phusion team released Passenger 2.2.9 today, which adds support for Rails 3, the GEM bundler, and fixes a couple of bugs.  As usual Brightbox are providing Ubuntu Hardy packages for i386 and AMD64 architectures, available now from the Brightbox apt repository.
This package won&#8217;t actually support Rails 3 just yet though as we&#8217;ve yet to package [...]]]></description>
			<content:encoded><![CDATA[<p>The Phusion team released <a href="http://blog.phusion.nl/2010/01/08/phusion-passenger-2-2-9-released/">Passenger 2.2.9</a> today, which adds support for Rails 3, the GEM bundler, and fixes a couple of bugs.  As usual <a href="http://wiki.brightbox.co.uk/docs:phusion-passenger">Brightbox are providing Ubuntu Hardy packages</a> for i386 and AMD64 architectures, available now from the <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository">Brightbox apt repository</a>.</p>
<p>This package won&#8217;t actually support Rails 3 just yet though as we&#8217;ve yet to package and test the librack 1.1.0, which Rails 3 depends on.  We&#8217;re working on it now and once we&#8217;re happy with it we&#8217;ll add new packages to our repository as usual.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/passenger-2-2-9-packages-for-ubuntu-8-04-hardy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brightbox sponsors NWRUG, 21st January, Manchester</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-sponsors-nwrug-21st-january-manchester</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-sponsors-nwrug-21st-january-manchester#comments</comments>
		<pubDate>Thu, 07 Jan 2010 18:29:01 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[manchester]]></category>
		<category><![CDATA[nwrug]]></category>
		<category><![CDATA[pizza]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sponsorship]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[user group]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=890</guid>
		<description><![CDATA[I&#8217;m speaking at this month&#8217;s North West Ruby Group meeting about some of the tools available that can be used to solve common Ruby and Rails deployment and development problems. &#8220;UNIX: Rediscovering the wheel&#8221;.
Brightbox is also sponsoring the meeting so there will be free pizza afterwards (free as in pizza, not as in speech).
More details [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m speaking at this month&#8217;s <a href="http://nwrug.org/events/january10/">North West Ruby Group meeting</a> about some of the tools available that can be used to solve common Ruby and Rails deployment and development problems. &#8220;UNIX: Rediscovering the wheel&#8221;.</p>
<p>Brightbox is also sponsoring the meeting so there will be free pizza afterwards (free as in pizza, not as in speech).</p>
<p>More details on the <a href="http://nwrug.org/events/january10/">NWRUG blog page</a>.</p>
<p>Hope to see you there!</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-sponsors-nwrug-21st-january-manchester/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shared MySQL improvements</title>
		<link>http://blog.brightbox.co.uk/posts/shared-mysql-improvements</link>
		<comments>http://blog.brightbox.co.uk/posts/shared-mysql-improvements#comments</comments>
		<pubDate>Wed, 23 Dec 2009 07:49:11 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[improvements]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[shared]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=875</guid>
		<description><![CDATA[Over the last few weeks we&#8217;ve been working on scaling our shared MySQL facilities. Until recently, we&#8217;ve been able to run a single (albeit hefty) shared MySQL cluster but due to growing demand we&#8217;ve needed to scale this up considerably. The main cluster has had some performance problems recently and, while some tuning and vertical [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks we&#8217;ve been working on scaling our shared MySQL facilities. Until recently, we&#8217;ve been able to run a single (albeit hefty) shared MySQL cluster but due to growing demand we&#8217;ve needed to scale this up considerably. The main cluster has had some performance problems recently and, while some tuning and vertical scaling bought us some time (we more than doubled the resources of the main cluster), the real focus has been on horizontal scaling.</p>
<p>We&#8217;ve built a bunch of new master-master replicated pairs and our backend systems now distribute customers between them on sign-up.  We&#8217;ve also been contacting some customers and moving them to new clusters, to relieve the pressure on the main cluster (customers with heavy requirements are still recommended managed dedicated clusters &#8211; these will be available to purchase simply as additional products soon).  We&#8217;re using puppet to automate a lot of the setup of the new clusters and can deploy a new one, with monitoring and backups, very quickly.</p>
<p>This work has almost quadrupled the shared MySQL resources within the space of a couple of weeks, and provides a simple platform to continue scaling indefinitely. The decentralisation also makes some aspects of administration easier, such as arranging downtime for maintenance.</p>
<p>The visible differences are small: rather than everyone connecting to one address, sqlreadwrite.brightbox.net, each account needs to use the address provided in the control panel.  The old sqlreadwrite.brightbox.net has become db01.mysql.vm.brightbox.net (the old name will of course continue to work indefinitely), and the new clusters are at db02.mysql.vm.brightbox.net, db03.mysql.vm.brightbox.net etc. Our wiki documentation has been updated to reflect this &#8211; customers on the old cluster don&#8217;t have to make any changes, it only really affects new customers and customers we&#8217;ve contacted to arrange a move.</p>
<p>We&#8217;ve also been working on improving the slow query logger to provide more useful results. Instead of reporting every slow query ever logged, it produces an intelligent summary of the week&#8217;s queries. This means when you see a slow query in the control panel, it means it&#8217;s shown up repeatedly and very likely needs attention, as opposed to queries that just happened to take longer than usual due to load on the cluster. We&#8217;ll be rolling this work out just after Christmas.</p>
<p>This work represents a big investment in our shared MySQL platform, which we know is invaluable to a lot of our customers, and allows us to keep growing without sacrificing performance.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/shared-mysql-improvements/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache x-sendfile module for Ubuntu Hardy</title>
		<link>http://blog.brightbox.co.uk/posts/apache-x-sendfile-module-for-ubuntu-hardy</link>
		<comments>http://blog.brightbox.co.uk/posts/apache-x-sendfile-module-for-ubuntu-hardy#comments</comments>
		<pubDate>Tue, 22 Dec 2009 17:37:21 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[file serving]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sendfile]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[x-sendfile]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=882</guid>
		<description><![CDATA[We&#8217;ve just added Caspar Clemens Mierau&#8217;s package for the Apache x-sendfile module to our Ubuntu Hardy package repositories, so now it&#8217;s trivially easy for Brightbox customers to start using it. We&#8217;ve also built an AMD64 version too.  Just install the package, enable it and reload Apache:
sudo apt-get update
sudo apt-get install libapache2-mod-xsendfile
sudo a2enmod xsendfile
sudo invoke-rc.d apache reload]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just added <a href="https://launchpad.net/~damokles">Caspar Clemens Mierau</a>&#8217;s package for the Apache <a href="http://tn123.ath.cx/mod_xsendfile/">x-sendfile module</a> to our <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository">Ubuntu Hardy package repositories</a>, so now it&#8217;s trivially easy for Brightbox customers to <a href="http://www.therailsway.com/2009/2/22/file-downloads-done-right">start using it</a>. We&#8217;ve also built an AMD64 version too.  Just install the package, enable it and reload Apache:</p>
<pre><code>sudo apt-get update
sudo apt-get install libapache2-mod-xsendfile
sudo a2enmod xsendfile
sudo invoke-rc.d apache reload</code></pre>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/apache-x-sendfile-module-for-ubuntu-hardy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New: Performance graphs (beta)</title>
		<link>http://blog.brightbox.co.uk/posts/new-performance-graphs-beta</link>
		<comments>http://blog.brightbox.co.uk/posts/new-performance-graphs-beta#comments</comments>
		<pubDate>Tue, 08 Dec 2009 16:29:00 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[control panel]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=857</guid>
		<description><![CDATA[We quietly rolled out a new feature into the Brightbox control panel a couple of weeks ago, adding performance graphs for each of your Brightbox virtual machines. To view graphs for a virtual machine, click the &#8220;full details&#8221; link from the overview screen. You can currently choose to view CPU, disk i/o, public and private [...]]]></description>
			<content:encoded><![CDATA[<p>We quietly rolled out a new feature into the Brightbox control panel a couple of weeks ago, adding performance graphs for each of your Brightbox virtual machines. To view graphs for a virtual machine, click the &#8220;full details&#8221; link from the overview screen. You can currently choose to view CPU, disk i/o, public and private network usage for the last hour, day, week and month.</p>
<p><img class="alignnone size-full wp-image-858" title="d2b219612ed32a458cc0e587" src="http://blog.brightbox.co.uk/wp-content/uploads/2009/12/d2b219612ed32a458cc0e587.png" alt="d2b219612ed32a458cc0e587" width="550" height="271" /></p>
<p>The graphing service is currently in beta, so you might find some occasional gaps in data for the time being, but over time this should prove a very useful feature.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/new-performance-graphs-beta/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paul joins Team Brightbox!</title>
		<link>http://blog.brightbox.co.uk/posts/paul-joins-team-brightbox</link>
		<comments>http://blog.brightbox.co.uk/posts/paul-joins-team-brightbox#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:18:45 +0000</pubDate>
		<dc:creator>Louisa Parry</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Paul Thornthwaite]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[staff]]></category>
		<category><![CDATA[team]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=846</guid>
		<description><![CDATA[We welcomed our latest addition to the Brightbox team a fortnight ago &#8211; Paul Thornthwaite.
Experienced programmer Paul was a beta tester for Brightbox back in our very early days and has now come on board as our new senior developer.  He&#8217;ll be joining Baz and Caius working on our customer-facing control panel and our [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left content_image size-full wp-image-850" title="paul" src="http://blog.brightbox.co.uk/wp-content/uploads/2009/12/paul.jpg" alt="paul" width="180" height="220" />We welcomed our latest addition to the Brightbox team a fortnight ago &#8211; Paul Thornthwaite.</p>
<p>Experienced programmer Paul was a beta tester for Brightbox back in our very early days and has now come on board as our new senior developer.  He&#8217;ll be joining Baz and Caius working on our customer-facing control panel and our behind-the-scenes systems, and he&#8217;ll also take a lead in project managing all the development side of things.</p>
<p>Welcome to the team, Paul!</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/paul-joins-team-brightbox/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>See you at Conferencia Rails 2009</title>
		<link>http://blog.brightbox.co.uk/posts/see-you-at-conferencia-rails-2009</link>
		<comments>http://blog.brightbox.co.uk/posts/see-you-at-conferencia-rails-2009#comments</comments>
		<pubDate>Tue, 24 Nov 2009 14:58:13 +0000</pubDate>
		<dc:creator>Louisa Parry</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[conferencia rails]]></category>
		<category><![CDATA[madrid]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=842</guid>
		<description><![CDATA[Brightbox founders Jeremy and John will be attending Conferencia Rails in Madrid later this week.
Brightbox is sponsoring the event and John will be speaking on Thursday about the wonders of UNIX &#8211; how its often forgotten tools can help with Ruby on Rails development and deployment.
They&#8217;ll also have some of our highly coveted tshirts and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-843" title="conferencia-rails-2009" src="http://blog.brightbox.co.uk/wp-content/uploads/2009/11/conferencia-rails-2009.png" alt="conferencia-rails-2009" width="272" height="72" />Brightbox founders Jeremy and John will be attending <a href="http://www.conferenciarails.org/">Conferencia Rails</a> in Madrid later this week.</p>
<p>Brightbox is sponsoring the event and John will be speaking on Thursday about the wonders of UNIX &#8211; how its often forgotten <a href="http://app.conferenciarails.org/talks/58-unix-rediscovering-the-wheel">tools can help with Ruby on Rails development and deployment</a>.</p>
<p>They&#8217;ll also have some of our highly coveted tshirts and stickers to give away so if you&#8217;re going, make sure you track them down and say hello.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/see-you-at-conferencia-rails-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passenger 2.2.7 packages for Ubuntu</title>
		<link>http://blog.brightbox.co.uk/posts/passenger-2-2-7-packages-for-ubuntu</link>
		<comments>http://blog.brightbox.co.uk/posts/passenger-2-2-7-packages-for-ubuntu#comments</comments>
		<pubDate>Tue, 24 Nov 2009 08:18:05 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cow]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[phusion]]></category>
		<category><![CDATA[rack]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=839</guid>
		<description><![CDATA[Passenger 2.2.6 (quickly followed by 2.2.7) was released last week and we now have i386 and AMD64 Ubuntu Hardy packages available in our repository.
As usual, details on installing the packages from our repository are available on our wiki.
If you&#8217;re using Passenger and it&#8217;s making you happy, please do consider supporting its development by donating money [...]]]></description>
			<content:encoded><![CDATA[<p>Passenger 2.2.6 (quickly followed by 2.2.7) was <a href="http://blog.phusion.nl/2009/11/18/phusion-passenger-2-2-6-released/">released last week</a> and we now have i386 and AMD64 Ubuntu Hardy packages available in our repository.</p>
<p>As usual, details on installing the packages from our repository are <a href="http://wiki.brightbox.co.uk/docs:phusion-passenger">available on our wiki</a>.</p>
<p>If you&#8217;re using Passenger and it&#8217;s making you happy, please do consider supporting its development by <a href="http://www.modrails.com/enterprise.html">donating money in the form of an &#8220;Enterprise License&#8221;</a> direct from Phusion, the company behind it.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/passenger-2-2-7-packages-for-ubuntu/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clearing out Rails Sessions</title>
		<link>http://blog.brightbox.co.uk/posts/clearing-out-rails-sessions</link>
		<comments>http://blog.brightbox.co.uk/posts/clearing-out-rails-sessions#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:30:41 +0000</pubDate>
		<dc:creator>Caius Durling</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=823</guid>
		<description><![CDATA[As I&#8217;m sure you&#8217;re aware, Rails can be told to use ActiveRecord (and hence the MySQL database) to store session data. (New Rails apps use the cookie store by default&#8212;See the rails sessions guide for more info on both.)
However, this session data is never deleted, which means your session table continues to grow and grow [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m sure you&#8217;re aware, Rails can be told to use ActiveRecord (and hence the MySQL database) to store session data. <em>(New Rails apps use the cookie store by default&#8212;See <a href="http://guides.rubyonrails.org/security.html#session-storage">the rails sessions guide</a> for more info on both.)</em></p>
<p>However, this session data is never deleted, which means your session table continues to grow and grow forevermore. Your old sessions are left stored in the database, and although the table is indexed to help with finding sessions, it will eventually fill the disk up.</p>
<p>At this point you might be thinking the solution is obvious, just empty the sessions table after so long and let it fill up again. Rails even provides a rake task that does this for us, <code>rake db:sessions:clear</code>. The problem with taking this approach is that any active sessions get lost as well, which could be people with items in their baskets, currently logged in users, etc.</p>
<p>There is another solution, which is to only delete sessions that we consider to no longer be active. The <code>updated_at</code> column in the sessions table has an index on it, and thus looks designed for this type of query to be run. On the Brightbox <a href="https://control.brightbox.co.uk/" title="Brightbox - Rails hosting">control panel</a>, we&#8217;ve decided this is session data that hasn&#8217;t been updated for over 24 hours. (A side effect of this is customers that haven&#8217;t visited the control panel in the last 24 hours are logged out. We&#8217;ve decided this is ok, but <abbrev title="Your Mileage May Vary">YMMV</abbrev> of course.)</p>
<p>We use the following rake task that clears out sessions 24 hours or older, which is <a href="http://wiki.brightbox.co.uk/docs:cron" title="Scheduling tasks with Cron">run via cron</a> at 3am every morning. You can change the threshold by editing <code>"1 DAY"</code> in the query, see the MySQL <a href="http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-add">DATE_ADD()</a> docs for valid values.</p>
<pre><code>desc "Clear expired sessions"
task :clear_expired_sessions =&gt; :environment do
    sql = 'DELETE FROM sessions WHERE updated_at &lt; DATE_SUB(NOW(), INTERVAL 1 DAY);'
    ActiveRecord::Base.connection.execute(sql)
end
</code></pre>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/clearing-out-rails-sessions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->