<?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>FewBar.com - Make it good &#187; drizzle</title>
	<atom:link href="http://fewbar.com/tag/drizzle/feed/" rel="self" type="application/rss+xml" />
	<link>http://fewbar.com</link>
	<description>Technology, life, and mischief, not in that order</description>
	<lastBuildDate>Wed, 18 Apr 2012 00:55:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Time for some ghetto monitoring</title>
		<link>http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/</link>
		<comments>http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:54:51 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upstart]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=391</guid>
		<description><![CDATA[<a href="http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/" title="Time for some ghetto monitoring"></a>If you came here between April 28 and about an hour ago, you got a &#8220;couldn&#8217;t connect to database&#8221; error. Oops! Seems my limited memory EC2 instance got a little overwhelmed by php processes and decided the db server, drizzled, &#8230;<p class="read-more"><a href="http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/" title="Time for some ghetto monitoring"></a><p><a href="http://fewbar.com.s3.amazonaws.com/wp-content/uploads/2011/05/4584789991_7045d10c2c.jpg"><img class="alignleft size-medium wp-image-401" title="4584789991_7045d10c2c" src="http://fewbar.com.s3.amazonaws.com/wp-content/uploads/2011/05/4584789991_7045d10c2c-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>If you came here between April 28 and about an hour ago, you got a &#8220;couldn&#8217;t connect to database&#8221; error. Oops! Seems my limited memory EC2 instance got a little overwhelmed by php processes and decided the db server, drizzled, should die to make more room for PHP. Ooops! Time to drop pm.max_children.</p>
<p>I don&#8217;t have any monitoring setup for the site, so I just now figured it out. Until I get proper monitoring, I&#8217;ve installed this fancy bit of duct-tape upstart magic:<br />
<code><br />
start on stopping<br />
task<br />
script<br />
  env | mail -s "$JOB is stopping!" me@myemail.com<br />
end script<br />
</code></p>
<p>What does this do? Well is emails me whenever upstart gives up respawning something, or I manually stop a service.</p>
<p>Its not monitoring. I need monitoring. But this is a nice little hack to prevent a regression while I figure that out.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2011/05/time-for-some-ghetto-monitoring/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The 2011 O&#8217;Reilly Open Mysql Drizzle Maria Monty Percona Xtra Galera Xeround Tungsten Cloud Database Conference and Expo</title>
		<link>http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/</link>
		<comments>http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 17:49:00 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[mysqlconf]]></category>
		<category><![CDATA[percona]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=382</guid>
		<description><![CDATA[<a href="http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/" title="The 2011 O&#039;Reilly Open Mysql Drizzle Maria Monty Percona Xtra Galera Xeround Tungsten Cloud Database Conference and Expo"></a>Or, for short, the &#8220;2011 O&#8217;Reilly MySQL Users Conference &#38; Expo&#8221;. Yes thats the short name of the conference that, thus far, has brought me nothing but good info, good times, and insight into one of the most interesting open &#8230;<p class="read-more"><a href="http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/" title="The 2011 O&#039;Reilly Open Mysql Drizzle Maria Monty Percona Xtra Galera Xeround Tungsten Cloud Database Conference and Expo"></a><p>Or, for short, the &#8220;2011 O&#8217;Reilly MySQL Users Conference &amp; Expo&#8221;. Yes thats the short name of the conference that, thus far, has brought me nothing but good info, good times, and insight into one of the most interesting open source communities around.</p>
<p>MySQL has been at the core of a real revolution in the way data driven applications have exploded on the internet. Its so easy to just install it, fire up php&#8217;s mysql driver, and boom, you&#8217;re saving and retrieving data. The *use* of MySQL has always been incredibly simple.</p>
<p>The politics has, at times, been confusing.<span id="more-382"></span> Dual licensing was sort of an odd concept when MySQL AB was doing it &#8220;back in the day&#8221;. Nobody really understood how it worked or how they could sell something that was also &#8220;free&#8221;. But it worked out great for them. InnoDB got bought by Oracle and a lot of people thought &#8220;oh noes MySQL will have no transactional storage, Oracle will kill it.&#8221; Well we see where thats about 180 degrees from what actually happened (R.I.P. Falcon).</p>
<p>So this year, with the oddness of Oracle not being the top sponsor at an event that had driven a lot of the innovation and collaboration in the MySQL world (ironically, choosing instead to spend their time and effort on a conference called &#8220;Collaborate&#8221;), I thought &#8220;wonderful, more politics&#8221;.</p>
<p>But as <a href="http://blog.krow.net/post/4753904254/mysql-state-of-the-ecosystem-2011">Brian Aker says in his &#8220;State of the ecosystem&#8221; post</a>, it was quite the opposite. The absence of the commercial entity responsible for MySQL took a lot of the purely business focused discussion down to almost a whisper, while big ideas and big thinking seemed to be extremely prominent.</p>
<p><a href="http://en.oreilly.com/mysql2011/public/schedule/topic/563">Drizzle</a> had quite a few sessions, including my own about <a href="http://en.oreilly.com/mysql2011/public/schedule/detail/17640">what we&#8217;ve done with Drizzle in Ubuntu</a>. This is particularly interesting to me because Drizzle is mostly driven by a community effort, though most of the heavy lifting work up until now has been sponsored by Sun then Rackspace. Its purely an idea of how a MySQL-like database should be written, and while it may be seeing limited production use now, the discussions were on how it can be used, what it does now, not where its going or who is going to pay for its development. Its such a good idea, I&#8217;m pretty convinced users will drive it in much the same way Apache was driven by users wanting to do interesting things with HTTP.</p>
<p>I saw a lot of interesting ideas around replication put forth as well. <a href="http://en.oreilly.com/mysql2011/public/schedule/detail/17386">Galera</a>, Tungsten, and <a href="http://en.oreilly.com/mysql2011/public/schedule/detail/17747">Xeround</a> all seem to be trying to build on MySQL&#8217;s success with replication and NDB (a.k.a. MySQL Cluster). I really like that there are multiple takes on how to make a multi-master highly available / scalable system work. Getting all the people using and developing these things into one conference center is always pretty interesting to me.</p>
<p>The keynotes were especially interesting, as they were delivered by people who are sitting at the interesection of the old MySQL world, and the new MySQL &#8220;ecosystem&#8221;. I missed Monty Widenius&#8217;s keynote but it strikes me that he is still leading the charge for a simple, scalable, powerful database system, proving that the core of MySQL is mostly unchanged. Martin Mickos delivered a really interesting take on how MySQL was part of the last revolution in computing (LAMP) and how it may very well be a big part of the next revolution (IaaS, aka &#8220;the cloud&#8221;). Brian Aker reinforced that MySQL as a concept, and specifically, Drizzle, are just part of your Infrastructure (the I in IaaS).</p>
<p>Then on Thursday, <a href="http://en.oreilly.com/mysql2011/public/schedule/detail/17808">Baron Schwartz blew the whole place up</a>. Go, watch the video if you weren&#8217;t there, or haven&#8217;t seen it. Baron has always been  insightful in his evaluation of the MySQL ecosystem. Maatkit came around when the community needed it, and on joining Percona I think he brought his clear thinking to Petr&#8217;s bold decision making at just the right time to help fuel their rise as one of the most respected consulting firms in the &#8220;WebScale&#8221; world. So when Baron got up and said that the database is still going to scale up, that MySQL isn&#8217;t going to lose to NoSQL or SomeSQL, but rather, that the infrastructure would adapt to the data requirements, it caught my attention, and got me nodding. And when he plainly called Oracle out for not supporting the conference, there was a hush over the croud followed by a big sigh. Its likely that those in attendance were the ones who understand that, and those who weren&#8217;t there were probably the ones who need to hear it. I&#8217;d guess by now they&#8217;ve seen the video or at least heard the call. Either way, thanks Baron for your insight and powerful thoughts.</p>
<p>This was my second MySQL Conference, and I hope it won&#8217;t be my last. The mix of users, developers, and business professionals has always struck me as quite unique, as MySQL sits at the intersection of a number of very powerful avenues. Lets hope that O&#8217;Reilly decides to do it again, *and* lets hope that Oracle gets on board as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2011/04/the-2011-oreilly-open-mysql-drizzle-maria-monty-percona-xtra-galera-xeround-tungsten-cloud-database-conference-and-expo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP JSON AlsoSQL interface to Drizzle &#124; Stewart Smith</title>
		<link>http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/</link>
		<comments>http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 15:08:33 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=394</guid>
		<description><![CDATA[<a href="http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/" title="HTTP JSON AlsoSQL interface to Drizzle | Stewart Smith"></a>HTTP JSON AlsoSQL interface to Drizzle &#124; Ramblings. &#8211; This is what I&#8217;m talking about when I say Drizzle will be for HTTP what Apache was for MySQL. Its hyper flexible and quite performant. Stewart is a quite gifted programmer, &#8230;<p class="read-more"><a href="http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/" title="HTTP JSON AlsoSQL interface to Drizzle | Stewart Smith"></a><p><a href="http://www.flamingspork.com/blog/2011/04/21/http-json-alsosql-interface-to-drizzle/">HTTP JSON AlsoSQL interface to Drizzle | Ramblings</a>. &#8211; This is what I&#8217;m talking about when I say Drizzle will be for HTTP what Apache was for MySQL. Its hyper flexible and quite performant. Stewart is a quite gifted programmer, but look how easy it was to integrate a JSON library and libevent into the server on a whim.</p>
<p>As a sysadmin with LAMP shops, I always had to stop innovating around the MySQL part of it. Linux I could hack on, apache I could hack on, and PHP/Perl/Python were built to be hacked on. But MySQL was always difficult beyond a few clever UDF&#8217;s.</p>
<p>I&#8217;m waiting for somewhere to adopt Drizzle and really start running wild with the plugins. Should be interesting!</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2011/04/http-json-alsosql-interface-to-drizzle-stewart-smith/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu and Drizzle &#8212; Run Drizzle on your Narwhal: OReilly MySQL Conference &amp; Expo 2011 &#8211; OReilly Conferences, April 11 &#8211; 14, 2011, Santa Clara, CA</title>
		<link>http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/</link>
		<comments>http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 21:36:24 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=387</guid>
		<description><![CDATA[<a href="http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/" title="Ubuntu and Drizzle -- Run Drizzle on your Narwhal: OReilly MySQL Conference &amp; Expo 2011 - OReilly Conferences, April 11 - 14, 2011, Santa Clara, CA"></a>Ubuntu and Drizzle &#8212; Run Drizzle on your Narwhal: OReilly MySQL Conference &#38; Expo 2011 &#8211; OReilly Conferences, April 11 &#8211; 14, 2011, Santa Clara, CA. I gave a talk this week in Santa Clara at the MySQL Users Conference. &#8230;<p class="read-more"><a href="http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/" title="Ubuntu and Drizzle -- Run Drizzle on your Narwhal: OReilly MySQL Conference &amp; Expo 2011 - OReilly Conferences, April 11 - 14, 2011, Santa Clara, CA"></a><p><a href="http://en.oreilly.com/mysql2011/public/schedule/detail/17640">Ubuntu and Drizzle &#8212; Run Drizzle on your Narwhal: OReilly MySQL Conference &amp; Expo 2011 &#8211; OReilly Conferences, April 11 &#8211; 14, 2011, Santa Clara, CA</a>.</p>
<p>I gave a talk this week in Santa Clara at the MySQL Users Conference. I think it went pretty well and I got a lot of feedback from Ubuntu users about the positives of having Drizzle available in Universe.The slides are available at the link above.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2011/04/ubuntu-and-drizzle-run-drizzle-on-your-narwhal-oreilly-mysql-conference-expo-2011-oreilly-conferences-april-11-14-2011-santa-clara-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>presenting &#8220;blog on a narwhal&#8221;</title>
		<link>http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/</link>
		<comments>http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 07:26:52 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[natty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=374</guid>
		<description><![CDATA[<a href="http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/" title="presenting &quot;blog on a narwhal&quot;"></a>Since we&#8217;re just about to 11.04 beta2, I figured its high time I start using Ubuntu Server for my personal blog. What? Almost a year at Canonical and my blog wasn&#8217;t on Ubuntu server? Well, for over 5 years now, &#8230;<p class="read-more"><a href="http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/" title="presenting &quot;blog on a narwhal&quot;"></a><p>Since we&#8217;re just about to 11.04 beta2, I figured its high time I start using Ubuntu Server for my personal blog.</p>
<p>What? Almost a year at Canonical and my blog wasn&#8217;t on Ubuntu server? Well, for over 5 years now, a personal friend has provided me with a free Xen virtual machine to run my blog on. I migrated it off of Debian then, which was sad for me, but back then I was so focused on working I didn&#8217;t have time or resources to be picky, so I said OK.</p>
<p>Fast forward to now, I&#8217;ve been working on Ubuntu Server and getting ribbed by my co-workers about that &#8220;crappy CentOS xen box&#8221; they&#8217;d see me logged into.</p>
<p>Well thats all over now. I decided to marry all the new tech I&#8217;ve been playing with lately into one glorious blog migration.<span id="more-374"></span></p>
<p>The old blog was:</p>
<ul>
<li>Xen domU</li>
<li>500MB RAM allocated</li>
<li>9GB storage</li>
<li>CentOS 5.5</li>
<li>Apache + mod_php (5.3.5 from IUS project)</li>
<li>MySQL 5.0.77</li>
<li>WordPress 3.0.5 manually installed single-site</li>
</ul>
<p>The new hotness is:</p>
<ul>
<li>﻿EC2 t1.micro (its upgradable! <img src='http://fewbar.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>692MB RAM</li>
<li>8GB EBS</li>
<li>nginx + php5-fpm (5.3.5 from natty)</li>
<li>Drizzle 2011.03.13 (wordpress-plugin 0.0.2)</li>
<li>WordPress 3.0.5 from natty in multisite mode</li>
</ul>
<p>The steps to migrate weren&#8217;t altogether complicated. A bit of configuration for nginx to have it serve my PHP using php5-fpm, and copying most of wp-content over. Drizzle couldn&#8217;t have been more straight forward:</p>
<ul>
<li>Install drizzle7-client from EPEL on CentOS vm</li>
<li>drizzledump blog database (drizzledump automatically converts mysql schemas to drizzle compatible ones)</li>
<li>load it into drizzle on Ubuntu server</li>
</ul>
<p>WordPress still needs *some* help to use Drizzle. Much of this will be handled by the wordpress-drizzle package from my ppa (add-apt-repository ppa:clint-fewbar/drizzle) which filters DDL to change things like LONGTEXT to TEXT. Because Drizzle has done away with the eeeeevil of datetimes with  0000-00-00 as their date (a non-existent date), we need to change all instances of that to &#8217;0001-01-01&#8242;. In the future I&#8217;d like to see this abstracted out of wordpress even more so that it is more aware of the datetime fields and can use actual NULL values. I believe this can be done in the plugin by overloading the insert/update methods. I&#8217;ve begun working on that, but for now I&#8217;ll just have to keep patching wp-includes/post.php , which seems to be the main user of 0000-00-00 to denote a &#8220;draft&#8221; post.</p>
<p>We also have to alter the wp_posts table slightly. Thats because wordpress relies on mysql&#8217;s broken &#8220;NOT NULL&#8221; producing an &#8220;empty string&#8221; in varchars. This ALTER does that:</p>
<pre>﻿ALTER TABLE wp_posts MODIFY COLUMN post_mime_type VARCHAR(100) COLLATE utf8_general_ci DEFAULT '';</pre>
<p>Anyway, goodbye CentOS, hello Ubuntu!</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2011/04/presenting-blog-on-a-narwhal/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Drizzle, Maverick, PPA&#8217;s, and you</title>
		<link>http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/</link>
		<comments>http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 19:12:05 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[maverick]]></category>
		<category><![CDATA[natty]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uds-n]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=281</guid>
		<description><![CDATA[<a href="http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/" title="Drizzle, Maverick, PPA&#039;s, and you"></a>So, this week, Drizzle released its beta, which is really exciting. But at the same time, I decided to ask the Ubuntu MOTU pull it out of Ubuntu 10.10 (a.k.a. maverick) entirely. The reasons, may not be entirely obvious. Licensing: &#8230;<p class="read-more"><a href="http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/" title="Drizzle, Maverick, PPA&#039;s, and you"></a><p>So, this week, <a href="https://launchpad.net/drizzle">Drizzle</a> released its beta, which is really exciting. But at the same time, I decided to <a href="https://bugs.launchpad.net/ubuntu/+source/drizzle/+bug/644587">ask the Ubuntu MOTU pull it out of Ubuntu 10.10</a> (a.k.a. maverick) entirely. The reasons, may not be entirely obvious.<br />
<span id="more-281"></span></p>
<ul>
<li>Licensing: There is some ambiguity on the licensing of certain non-critical source code in Drizzle that we weren&#8217;t certain Debian archive admins would accept. Since we like to follow Debian as closely as possible in Ubuntu, the MOTU sponsor we had was requesting that we upload into Debian first. Upon review of earlier packages, the debian archive maintainers pointed out some ambiguities in the copyright documentation, and it turns out, there are some ambiguities still in the source code. These things take time to sort out, though I&#8217;m confident we&#8217;ve figured most, if not all, of them out. </li>
<li>Beta status: Drizzle released their first beta just yesterday. This is great, and would be a good release to have in Maverick, but its going to change *a lot* before the &#8220;elliot&#8221; milestone is released in early 2011. Monty Taylor assures me that they&#8217;re going to be ready to release before feature freeze of Natty (11.04). Until then, they&#8217;re going to be fixing bugs in the betas and releasing those fixes. In the face of that, its probably better to point people at a <a href="https://launchpad.net/~drizzle-developers/+archive/ppa">PPA</a> that will have the latest bug fix release in it, and tools included to help debug/fix the release as well.</li>
<li>Quality: Even though its clear that drizzle is beta to those following drizzle closely, it may not be entirely clear to everyone. Beta versions make it into Ubuntu all the time, but being a database engine, I&#8217;m hesitant to have the casual user try it out. In 6 months, Drizzle will be at a stable release stage, and all users should be feeling pretty good about running on it. That seems like the right time to put it into Debian and Ubuntu.</li>
</ul>
<p>So, what should you do if you want to run Drizzle on Maverick?</p>
<p>There are two package archives maintained by the drizzle developers <b>just for ubuntu</b>.</p>
<p><a href="https://launchpad.net/~drizzle-developers/+archive/ppa">The PPA for drizzle development</a> &#8211; This should have the latest stable release, and all of the build-depends to rebuild it.<br />
<a href="https://launchpad.net/~drizzle-developers/+archive/trunk">The Drizzle Trunk PPA</a> &#8211; This should have the latest daily build of drizzle from the source code repository, which may have fixes made since the last stable release.</p>
<p>Those links include instructions for adding the PPA&#8217;s to your system, after that, just</p>
<p><code><br />
apt-get install drizzle-server drizzle-client<br />
</code></p>
<p>And have fun!</p>
<p>Also, we&#8217;ll be discussing drizzle sometime at <a href="http://uds.ubuntu.com/">UDS-N in Orlando</a>. So make sure to check the schedule out and join us (remotely or on site) if you want to chime in or hear what we&#8217;re going to do with the Narwhal and Drizzle.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2010/09/drizzle-maverick-ppas-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drizzle7 Beta Released! now with MySQL migration! « LinuxJedis /dev/null</title>
		<link>http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/</link>
		<comments>http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 22:39:31 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=286</guid>
		<description><![CDATA[<a href="http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/" title="Drizzle7 Beta Released! now with MySQL migration! « LinuxJedis /dev/null"></a>Drizzle7 Beta Released! now with MySQL migration! « LinuxJedis /dev/null. Drizzle is a project that is near and dear to my heart. To sum it up, Drizzle took all that was really good in MySQL, cut out all that was &#8230;<p class="read-more"><a href="http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/" title="Drizzle7 Beta Released! now with MySQL migration! « LinuxJedis /dev/null"></a><p><a href="http://www.linuxjedi.co.uk/?p=30">Drizzle7 Beta Released! now with MySQL migration! « LinuxJedis /dev/null</a>.</p>
<p><a href="http://www.linuxjedi.co.uk/?p=30"><img src='http://fewbar.com/wp-content/uploads/2010/09/drizzle64.png' alt='' /></a></p>
<p>Drizzle is a project that is near and dear to my heart.</p>
<p>To sum it up, Drizzle took all that was really good in MySQL, cut out all that was mediocre, and replaced some of it with really good stuff. The end product is, I think, something that is leaner, should be more stable, and definitely more flexible.</p>
<p>So go check out the beta! I guess I should use Andrew&#8217;s migration tool and see if I can migrate this blog to drizzle. <img src='http://fewbar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2010/09/drizzle7-beta-released-now-with-mysql-migration-%c2%ab-linuxjedis-devnull/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PBMS in Drizzle &#124; Ramblings</title>
		<link>http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/</link>
		<comments>http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 14:36:05 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[blobs]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=243</guid>
		<description><![CDATA[<a href="http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/" title="PBMS in Drizzle | Ramblings"></a>PBMS in Drizzle &#124; Ramblings. For those not familiar with PBMS it does two things: provide a place (not in the table) for BLOBs to be stored (locally on disk or even out to S3) and provide a HTTP interface &#8230;<p class="read-more"><a href="http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/" title="PBMS in Drizzle | Ramblings"></a><p><a href="http://www.flamingspork.com/blog/2010/07/08/pbms-in-drizzle/">PBMS in Drizzle | Ramblings</a>.</p>
<blockquote><p><span style="font-family: 'Lucida Grande', Verdana, Arial, sans-serif; line-height: 16px; font-size: 12px; color: #333333;"> </span></p>
<p style="font-size: 1.05em;">For those not familiar with PBMS it does two things: provide a place (not in the table) for BLOBs to be stored (locally on disk or even out to S3) and provide a HTTP interface to get and store BLOBs.</p>
<p style="font-size: 1.05em;">This means you can do really neat things such as have your BLOBs replicated, consistent and all those nice databasey things as well as easily access them in a scalable way (everybody knows how to cache HTTP).</p>
</blockquote>
<p style="font-size: 1.05em;">This is awesome. How many times have you added a URL to your database table and then had to write API&#8217;s of some sort to go fetch that URL at read time, and write that URL somewhat atomically at write time?</p>
<p style="font-size: 1.05em;">Drizzle isn&#8217;t even &#8220;done&#8221; yet, and already the plugins are flying out of the community. The fact that this is a plugin, and won&#8217;t affect *anybody* who doesn&#8217;t want it, is why I&#8217;m confident Drizzle is moving in the right directly. I&#8217;m not sure why it has taken so long, but this feels like its doing for the RDBMS what apache has done for HTTP serving&#8230; make it flexible and extensible, and folks will find interesting ways to use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2010/07/pbms-in-drizzle-ramblings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TokyoTyrant &#8211; MemcacheDB, but without the BDB?</title>
		<link>http://fewbar.com/2009/06/tokyotyrant-memcachedb-but-without-the-bdb/</link>
		<comments>http://fewbar.com/2009/06/tokyotyrant-memcachedb-but-without-the-bdb/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 06:40:26 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[Memcache]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[memcachedb]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[tokyocabinet]]></category>
		<category><![CDATA[tokyotyrant]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=85</guid>
		<description><![CDATA[Anyway, the next thing I mentioned was that we had also tried MemcacheDB with some success. Brian wasn't exactly impressed with MemcacheDB, and immediately suggested that we should be using <a href="http://tokyocabinet.sourceforge.net/tyrantdoc/">Tokyo Tyrant</a> instead. I had heard of Tokyo Cabinet, the new hotness in local key/value storage and retrieval, but what is this Tyrant you speak of?<p class="read-more"><a href="http://fewbar.com/2009/06/tokyotyrant-memcachedb-but-without-the-bdb/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2009/06/tokyotyrant-memcachedb-but-without-the-bdb/" title="TokyoTyrant - MemcacheDB, but without the BDB?"></a><p>This past April I was riding in a late model, 2 door rental car with an interesting trio for sure. On my right sat <a href="http://capttofu.livejournal.com/">Patrick Galbraith</a>, maintainer of DBD::mysql and author of the Federated storage engine. Directly in front of me manning the steering wheel (for those of you keen on spatial description, you may have noted at this point that its most likely I was seated in the back, left seat of a car which is designed to be driven on the right side of the road. EOUF [end of useless fact]), David Axmark, co-founder of MySQL. Immediately to his right sat <a href="http://krow.net/">Brian Aker</a>, of (most recently) Drizzle fame.<br />
<span id="more-85"></span><br />
This was one of those conversations that I felt grossly unprepared for. It was the 2009 MySQL User&#8217;s conference, and  Patrick and I had been hacking on <a href="https://launchpad.net/dbd-drizzle">DBD::drizzle</a> for most of the day. We had it 98% of the way there and were in need of food, so we were joining the Drizzle dev team for gourmet pizza.</p>
<p>As we navigated from the Santa Clara conference center to Mountain View&#8217;s quaint downtown, Brian, Patrick, and I were discussing memcached stuff. I mentioned <a href="http://fewbar.com/2008/12/memcached-and-mogile-form-memcachemegazord/">my idea, and subsequent implementation of the Mogile+Memcached method for storing data more reliably</a> in memcached. I knew in my head why we had chosen to read from all of the replica servers, not just the first one that worked, but I forgot (The reason, btw, is that if one of the servers had missed a write for some reason, you might get out-of-date data). I guess I was a little overwhelmed by Brian&#8217;s mountain of experience w/ memcached.</p>
<p>Anyway, the next thing I mentioned was that we had also tried MemcacheDB with some success. Brian wasn&#8217;t exactly impressed with MemcacheDB, and immediately suggested that we should be using <a href="http://tokyocabinet.sourceforge.net/tyrantdoc/">Tokyo Tyrant</a> instead. I had heard of Tokyo Cabinet, the new hotness in local key/value storage and retrieval, but what is this Tyrant you speak of?</p>
<p>I&#8217;ve been playing with Tokyo Tyrant ever since, and advocating for its usage at Adicio. Its pretty impressive. In addition to speaking memcached protocol, it apparently speaks HTTP/WEBDAV  too. The ability to select hash, btree, and a host of other options is nice, though I&#8217;m sure some of these are available as obscure options to berkeleydb as well.</p>
<p>Anyway, I was curious what performance was like, so I did some tests on my little Xen instance, and came up with pretty graphs.</p>
<p><a href="http://fewbar.com/wp-content/uploads/2009/06/tokyotyrantvsmemcachedb1.gif"><img src="http://fewbar.com/wp-content/uploads/2009/06/tokyotyrantvsmemcachedb1.gif" alt="tokyotyrantvsmemcachedb1" title="tokyotyrantvsmemcachedb1" width="465" height="472" class="alignnone size-full wp-image-92" /></a></p>
<p>I used the excellent <a href="http://code.google.com/p/brutis/">Brutis</a> tool to run these benchmarks using the most interesting platform for me at the moment.. which would be, php with the pecl Memcache  module.</p>
<p>These numbers were specifically focused on usage that is typical to MemcacheDB. A wide range of keys (in this case, 10000 is &#8220;wide&#8221; since the testing system is very small), not-small items (2k or so), and lower write:read ratio (1:50). I had the tests restart each daemon after each run, and these numbers are the results of the average of 3 runs each test.</p>
<p>I also tried these from another xen instance on the same LAN, and things got a lot slower. Not really sure why as latency is in the sub-millisecond range.. but maybe Xen&#8217;s networking just isn&#8217;t very fast. Either way, the numbers for each combination didn&#8217;t change much.</p>
<p>What I find interesting is that memachedb in no-sync mode actually went faster than memached. Of course, in nosync mode, memcachedb is just throwing data at the disk. It doesn&#8217;t have to maintain LRU or slabs or anything.</p>
<p>Tokyo Tyrant was very consistent, and used *very* little RAM in all instances. I do recall reading that it compresses data. Maybe thats a default? Anyway, tokyo tyrant also was the most CPU hungry of the bunch, so I have to assume having more cores might have resulted in much better results.</p>
<p>I&#8217;d like to get together a set of 3 or 4 machines to test multiple client threads, and replication as well. Will post that as part 2 when I pull it together. For now, it looks like.</p>
<p>In case anybody wants to repeat these tests, I&#8217;ve included <a href="http://spamaps.org/files/tt-mdb-memcache-tests.tgz">the results, and the scripts used to generate them in this tarball</a>.</p>
<p>&#8211; Additional info, 6/4/2009<br />
Another graph that some might find interesting, is this one detailing CPU usage. During all the tests, brutis used about 60% of the CPU available on the machine, so 40% is really 100%:</p>
<p><a href="http://fewbar.com/wp-content/uploads/2009/06/tokyotyranttests_cpu.gif"><img src="http://fewbar.com/wp-content/uploads/2009/06/tokyotyranttests_cpu.gif" alt="tokyotyranttests_cpu" title="tokyotyranttests_cpu" width="428" height="385" class="alignnone size-full wp-image-98" /></a></p>
<p>This tells me that the CPU was the limiting factor for Tokyo Tyrant, and with a multi-core machine, we should see huge speed improvements. Stay tuned for those tests!</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2009/06/tokyotyrant-memcachedb-but-without-the-bdb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Parallel mysql replication?</title>
		<link>http://fewbar.com/2009/06/parallel-mysql-replication/</link>
		<comments>http://fewbar.com/2009/06/parallel-mysql-replication/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 19:08:48 +0000</pubDate>
		<dc:creator>clint</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[drizzle]]></category>
		<category><![CDATA[parallelism]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://fewbar.com/?p=80</guid>
		<description><![CDATA[<a href="http://fewbar.com/2009/06/parallel-mysql-replication/" title="Parallel mysql replication?"></a>Its always been a dream of mine. I&#8217;ve posted about parallel replication on Drizzle&#8217;s mailing list before. I think when faced with the problem of a big, highly concurrent master, and scaling out reads simply with lower cost slaves, this &#8230;<p class="read-more"><a href="http://fewbar.com/2009/06/parallel-mysql-replication/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://fewbar.com/2009/06/parallel-mysql-replication/" title="Parallel mysql replication?"></a><p>Its always been a dream of mine. I&#8217;ve <a href="https://lists.launchpad.net/drizzle-discuss/msg03988.html">posted about parallel replication</a> on Drizzle&#8217;s mailing list before. I think when faced with the problem of a big, highly concurrent master, and scaling out reads simply with lower cost slaves, this is going to be the only way to go.</p>
<p>So today I was really glad to see that somebody is trying out the idea. Seppo Jaakola from <a href="http://www.codership.com/">&#8220;Codership&#8221;</a>, who I&#8217;ve never heard of before today, <a href="https://lists.launchpad.net/drizzle-discuss/msg04214.html">posted a link</a> to an article on his blog about his <a href="http://www.codership.com/content/parallel-applying">experimentation with parallel replication slaves</a>. The findings are pretty interesting.<br />
<span id="more-80"></span><br />
I hope that he&#8217;ll be able to repeat his tests with a real world setup. The software they&#8217;ve written seems to have the right idea. The biggest issue I have with the tests is that  the tests were run on tiny hardware. Hyperthreading? Single disks? Thats not really the point of having parallel replication slaves.</p>
<p>The idea is that you have maybe a gigantic real time write server for OLTP. This beast may have lots of medium-power CPU cores, and an obscene amount of RAM, and a lot of battery backed write cache for writes.</p>
<p>Now you know that there are tons of reads that shouldn&#8217;t ever be done against this server. You drop a few replication slaves in, and you realize that you need a box with as much disk storage as your central server, and probably just as much write cache. Pretty soon scaling out those reads is just not very cost effective.</p>
<p>However, if you could have lots of CPU cores, and lots of cheap disks, you could dispatch these writes to be done in parallel, and you wouldn&#8217;t need expensive disk systems or lots of RAM for each slave.</p>
<p>So, the idea is not to make slaves faster in a 1:1 size comparison. Its to make it easier for a cheap slave to keep up with a very busy, very expensive master.</p>
<p>I do see where another huge limiting factor is making sure things synchronize in commit order. I think thats an area where a lot of time needs to be spent on optimization. The order should already be known so that the commiter thread is just waiting for the next one in line, and if the next 100 are already done it can just rip through them quickly, not signal them that they can go. Something like this seems right:</p>
<p><code><br />
id=first_commit_id();<br />
while(wait_for_commit(id)) {<br />
  commit(id);<br />
  id++;<br />
}<br />
</code></p>
<p>I applaud the efforts of Codeship, and I hope they&#8217;ll continue the project and maybe ship something that will rock all our worlds.</p>
]]></content:encoded>
			<wfw:commentRss>http://fewbar.com/2009/06/parallel-mysql-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.222 seconds -->

