<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>notkeepingitreal.com: Putting the BBC's Catalogue on Rails - Matt Biddulph</title>
    <link>http://notkeepingitreal.com/articles/2006/06/26/putting-the-bbcs-catalogue-on-rails-matt-biddulph</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Putting the BBC's Catalogue on Rails - Matt Biddulph</title>
      <description>&lt;p&gt;&lt;em&gt;Yep, that&amp;#8217;s a &lt;span class="caps"&gt;BBC&lt;/span&gt; accent.&lt;/em&gt;&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;We had to pull about seven million rows of legacy data over into our mysql database to get it rails-ready.&lt;/li&gt;
		&lt;li&gt;We went from the pipe delimited data file to a full-blown rails app in two months.&lt;/li&gt;
		&lt;li&gt;Luckily, the data model was completely redesigned in the 80&amp;#8217;s when the data went from index cards to a library application (with a neat green screen), and the data model actually worked pretty well for the web.&lt;/li&gt;
		&lt;li&gt;One of the design concerns for the rails version of the catalogue was for the &lt;span class="caps"&gt;URL&lt;/span&gt;&amp;#8217;s to be beautiful, and for each url to have a machine readable version (if there&amp;#8217;s a page, it has an xml version)&lt;/li&gt;
		&lt;li&gt;One of the biggest issues (besides the sheer magnitude of data) was getting search to work well. We ended up using some of the built-in search features of mysql, which actually worked pretty well once some of the default mysql configurations were fixed.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h3&gt;Getting ready for the big launch&lt;/h3&gt;


	&lt;ul&gt;
	&lt;li&gt;We knew the site was going to get a ridiculous number of hits.&lt;/li&gt;
		&lt;li&gt;Deployment was hardest part &amp;#8211; &lt;span class="caps"&gt;BBC&lt;/span&gt; locked the process down, didn&amp;#8217;t allow access to the deployment box, didn&amp;#8217;t allow gems, had some problems with dispatches blowing up and the mysqld process getting stopped (whoops)&lt;/li&gt;
		&lt;li&gt;The site did launch, and it was pretty neat. Unfortunately, the site is currently offline for the standard review process that takes place for all new &lt;span class="caps"&gt;BBC&lt;/span&gt; features.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h3&gt;Q/A&lt;/h3&gt;


	&lt;p&gt;Someone asked how long it took to do the initial import of the data from the legacy database to the new database. Answer: Two weeks of computer time. Cute.&lt;/p&gt;</description>
      <pubDate>Mon, 26 Jun 2006 02:50:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:5c40d6c8-c8ba-4cdd-ae9b-411eed42ef6f</guid>
      <author>Kevin</author>
      <link>http://notkeepingitreal.com/articles/2006/06/26/putting-the-bbcs-catalogue-on-rails-matt-biddulph</link>
      <category>Railsconf</category>
      <trackback:ping>http://notkeepingitreal.com/articles/trackback/25</trackback:ping>
    </item>
  </channel>
</rss>
