<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>NorthScale Blog</title>
	
	<link>http://blog.northscale.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 03 Sep 2010 15:33:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/northscalefeed" /><feedburner:info uri="northscalefeed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Membase and Open Source 4.0</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/gwFjNY-d5Qs/membase-and-open-source-4-0.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/09/membase-and-open-source-4-0.html#comments</comments>
		<pubDate>Fri, 03 Sep 2010 15:33:10 +0000</pubDate>
		<dc:creator>Bob Wiederhold</dc:creator>
				<category><![CDATA[membase]]></category>
		<category><![CDATA[nosql]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=930</guid>
		<description><![CDATA[I read Matt Aslett&#8217;s (The 451) post on the golden age of open source with interest. In it he describes that we&#8217;ve arrived at the fourth stage of open source, which is ”in short: a return to a focus on collaboration and community, as well as commercial interests.&#8221;
What we&#8217;re doing with membase.org definitely falls in [...]]]></description>
			<content:encoded><![CDATA[<p>I read Matt Aslett&#8217;s (The 451) post on the <a href="http://blogs.the451group.com/opensource/2010/08/09/the-golden-age-of-open-source/">golden age of open source </a>with interest. In it he describes that we&#8217;ve arrived at the fourth stage of open source, which is ”in short: a return to a focus on collaboration and community, as well as commercial interests.&#8221;</p>
<p>What we&#8217;re doing with <a href="http://membase.org">membase.org </a>definitely falls in line with this description although with a slightly different twist.  NorthScale saw the need for a simple, fast, and elastic NoSQL database that we felt wasn’t being met by existing technologies. When it became clear that many prominent companies shared this view and were committed to an open source solution, NorthScale stepped in to shepherd the development of a broad community around the <a href="http://membase.org">membase.org </a>project. Consistent with Matt Aslett’s description of open source 4.0, the result is a project with an “emphasis on collaboration and community rather than control.&#8221; While NorthScale has contributed the bulk of the code to the project, our customers Zynga and NHN are co-sponsors of the project who have a strong commitment to its success. This blurring of the line between vendor and customer – the collaboration between two seemingly opposite sides of a transaction – has long set open source apart from the large proprietary vendors who want nothing more than a lock on their customers. <span id="more-930"></span></p>
<p>Traditionally, the primary attraction to open source, and what enabled it to make inroads in the enterprise, has been cost. This is the &#8220;cheaper Oracle than Oracle&#8221; model where the technology is not necessarily solving any new problems in the market, but provides a cheaper open source version of something enterprises are already paying for.</p>
<p>However, when I talk to enterprise companies, lowering costs no longer cuts it as a sole driver for open source technology adoption. On the other hand, if we engage our customers around a very real and painful problem they’re dealing with – in our case, the mismatch between relational databases and the needs of interactive web applications – and demonstrate how we&#8217;re solving this with innovative new technology, <em>then </em>we can have a discussion. </p>
<p>In a nutshell, the fourth stage of open source is much more than just a return to community and collaboration – <em>it&#8217;s about putting open source front and center as an engine of innovation</em>. We&#8217;re seeing an emergence of open source projects that solve a new problem and create a <em>new solution </em>that eases this pain point. The source code just happens to be open because it&#8217;s what we have all come to expect. This is particularly true of infrastructure software going forward, where it&#8217;s expected that some component, if not all of it, is available as open source.</p>
<p>We believe open source 4.0 is characterized in part by projects that solve new problems with innovative solutions and use a highly collaborative model. We encourage the participation of both “corporate sponsors” and passionate individuals who are willing to contribute to the membase roadmap and strengthen the community.</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/gwFjNY-d5Qs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/09/membase-and-open-source-4-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/09/membase-and-open-source-4-0.html</feedburner:origLink></item>
		<item>
		<title>Implementing Membase Clients</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/dJ3VaEAirOA/implementing-membase-clients.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/implementing-membase-clients.html#comments</comments>
		<pubDate>Tue, 31 Aug 2010 19:46:15 +0000</pubDate>
		<dc:creator>Steve Yen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=913</guid>
		<description><![CDATA[Recently, Attila Kiskó, the author of the best .NET memcached client, the Enyim .NET memcached client, has been enhancing his client library to speak directly to membase data nodes.  Membase already supports all existing memcached client libraries and memcached protocols via a high-performance proxy, but there&#8217;s a &#8220;direct path&#8221; that client libraries can use for [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Attila Kiskó, the author of the best .NET memcached client, the <a href="http://memcached.enyim.com/">Enyim .NET memcached client</a>, has been enhancing his client library to speak directly to <a href="http://membase.org">membase</a> data nodes.  Membase already supports all existing memcached client libraries and memcached protocols via a high-performance proxy, but there&#8217;s a &#8220;direct path&#8221; that client libraries can use for ever-increased performance.  Along the way, we ended up with a quick guide on the membase.org wiki on how to create your own native or &#8220;smart&#8221; membase client library, so anybody else with their own favorite programming language can also do the same.</p>
<p><a href="http://wiki.membase.org/bin/view/Main/ClientImplementationGuide">http://wiki.membase.org/bin/view/Main/ClientImplementationGuide</a></p>
<p>The easiest approach is to start with your favorite memcached client library (that speaks memcached binary protocol) and proceed from there.  The fun part  is with handling the cases during Rebalance operations to allow for seamless cluster elasticity without data loss, but who doesn&#8217;t like fun challenges like these?</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/dJ3VaEAirOA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/implementing-membase-clients.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/implementing-membase-clients.html</feedburner:origLink></item>
		<item>
		<title>NorthScale Membase Server Beta 3 is Here!</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/54OLBBKW6Tc/northscale-membase-server-beta-3-is-here.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/northscale-membase-server-beta-3-is-here.html#comments</comments>
		<pubDate>Mon, 30 Aug 2010 13:14:28 +0000</pubDate>
		<dc:creator>Frank Weigel</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[membase]]></category>
		<category><![CDATA[nosql]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[NorthScale]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=840</guid>
		<description><![CDATA[I am excited to announce that NorthScale Membase Server 1.6 Beta3 is now available and ready for download.
This beta release adds a lot of new functionality and reflects most of what you’ll find in the final product. Highlights include:

Windows support
Multi-tenancy – allows multiple buckets on a single cluster including bucket quotas
“Cluster Overview” as a new [...]]]></description>
			<content:encoded><![CDATA[<p>I am excited to announce that NorthScale Membase Server 1.6 Beta3 is now available and ready for <a href="http://info.northscale.com/membase-beta-download.html">download</a>.</p>
<p>This beta release adds a lot of new functionality and reflects most of what you’ll find in the final product. Highlights include:</p>
<ul>
<li>Windows support</li>
<li>Multi-tenancy – allows multiple buckets on a single cluster including bucket quotas</li>
<li>“Cluster Overview” as a new monitoring dashboard</li>
<li>And lots of small improvements and bug fixes, of course!</li>
</ul>
<p>Let’s take a look at these features in a bit more detail:</p>
<p><strong>Windows support</strong> is by far one of the most frequently requested features, and we are very pleased to offer it with this beta release. Beta3 provides 32-bit Windows support, with 64-bit support on the way (Note: The 32bit binary runs just fine on Windows 64-bit but is subject to the 32-bit memory limits). The Windows version provides the same feature set as our Linux version.<span id="more-840"></span></p>
<p><strong>Multi-tenancy</strong> is the mechanism for creating multiple buckets on one membase cluster. Each bucket represents a separate namespace, but more importantly it also provides a resource control mechanism on a per bucket basis, allowing buckets to have different behavior. For example if you have some data you consider very important, you may want to create a bucket with a replica count of 3; for other less crucial data, a replica count of 0 might make sense. This way you can decide how to divide the cluster resources to accommodate different requirements for different applications or different types. No more one size fits all!</p>
<p><strong>Bucket quotas</strong> are worth a bit more explanation. Each time you create a cluster, you set a fixed amount of memory that each server node in the cluster will contribute to the total cluster memory that buckets can consume. Once set, this value will be inherited by any server joining the cluster and cannot be changed. Hence, the total memory available for membase use in the cluster increases by this amount with each addition of server to the cluster.</p>
<p>Similarly, each bucket defines a memory quota that sets the amount of memory it can use out of the cluster total memory. This quota does not change as you add servers to your cluster, but you can manually edit this on the “Manage Bucket” screen.</p>
<p>In addition to the memory quota, there is also a disk quota associated with each bucket. In contrast to the memory quota, there is no fixed limit of disk space that each server brings to the cluster; all free disk space on the assigned storage path may be used. It is up to sysadmin to make sure that each node provides sufficient space to accommodate the data written (and you can track free disk space in the new Cluster Overview dashboard). Disk quotas are not yet enforced in Beta3, but you can already use it to monitor your bucket’s usage versus the quota.</p>
<p>The <strong>Cluster Overview</strong> provides a single cluster overview dashboard, showing you the most crucial stats of your cluster in one place.<br />
<a href="http://blog.northscale.com/wp-content/uploads/2010/08/clusteroverviewscreenshot2.jpg"><img src="http://blog.northscale.com/wp-content/uploads/2010/08/clusteroverviewscreenshot2-292x300.jpg" alt="" title="Membase Server - Cluster Overview Screenshot" width="292" height="300" class="alignright size-medium wp-image-850" /></a><br />
As you can see you get a single page to keep track of the memory and disk usage of all your buckets, as well as how many operations your cluster is performing. The “disk fetches per second” serves as a potential issue indicator. If you are seeing a lot of disk reads it means that the working set for at least one of your buckets does not fit into RAM alone anymore. Disk reads are much higher latency than memory reads, so should this happen you can use the Data Bucket monitor section to drill down and understand which bucket is encountering the issue. If you need to take action you can increase the bucket memory quota in the Manage Data Bucket section. Issue resolved!</p>
<p>As you see we packed a lot of great new features into Beta3. But there is still more to come. You might be able to guess from the new bucket creation dialog that we have another bucket type in store, which will make multi-tenancy even more exciting – but for more on that you’ll have to check back later.</p>
<p>Enjoy Beta3 and let us know how you are getting on with the new features!</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/54OLBBKW6Tc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/northscale-membase-server-beta-3-is-here.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/northscale-membase-server-beta-3-is-here.html</feedburner:origLink></item>
		<item>
		<title>Meetup with Membase at VMworld – Win an iPad</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/Dn__pOJj7Xk/meetup-with-membase-at-vmworld-win-an-ipad.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/meetup-with-membase-at-vmworld-win-an-ipad.html#comments</comments>
		<pubDate>Thu, 26 Aug 2010 22:36:54 +0000</pubDate>
		<dc:creator>Melinda Wilken</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[membase]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=860</guid>
		<description><![CDATA[We are looking forward to a great week next week at VMworld 2010 in San Francisco. It looks like it&#8217;s shaping up to be a great conference. 

See a Membase demo.If you&#8217;re at the show, be sure to come by NorthScale&#8217;s booth (#640) for a Membase demo. Membase is an elastic key-value database that stores [...]]]></description>
			<content:encoded><![CDATA[<p>We are looking forward to a great week next week at VMworld 2010 in San Francisco. It looks like it&#8217;s shaping up to be a great conference. <br />
<a href="http://blog.northscale.com/wp-content/uploads/2010/08/memby.jpg"><img src="http://blog.northscale.com/wp-content/uploads/2010/08/memby-150x150.jpg" alt="" title="memby" width="150" height="150" class="alignright size-thumbnail wp-image-861" /></a><br />
<strong>See a Membase demo.</strong><br />If you&#8217;re at the show, be sure to come by NorthScale&#8217;s booth (#640) for a Membase demo. Membase is an elastic key-value database that stores data behind interactive web applications far more efficiently and cost effectively than it can be stored in a relational database. We&#8217;d love to show you how this highly available, cloud-friendly data layer expands and rebalances dynamically as application needs change. Just talk to anyone in the booth wearing a t-shirt with the Membase mascot (right).<span id="more-860"></span></p>
<p><a href="http://blog.northscale.com/wp-content/uploads/2010/08/NorthScale-tshirt-tagCloud-100817A.jpg"><img src="http://blog.northscale.com/wp-content/uploads/2010/08/NorthScale-tshirt-tagCloud-100817A-300x296.jpg" alt="membase t-shirt" title="NorthScale-tshirt-tagCloud-100817A" width="300" height="296" class="alignright size-medium wp-image-863" /></a><strong>Wear a t-shirt, win an iPad!</strong><br />And speaking of t-shirts, pick up your own yellow membase t-shirt and wear it around the show floor to win a chance for an iPad. We&#8217;ll be giving away iPads at our booth on Tuesday (8/31) and Wednesday (9/1) at 5:30pm, so stop by during the day to get your t-shirt and find out more about how to win.</p>
<p><strong>Can&#8217;t make the show?<br />Test drive Membase anyway.</strong><br />
If you won&#8217;t be in San Francisco next week, you can still take Membase for a spin by downloading it <a href="http://info.northscale.com/membase-beta-download.html">here</a>. There are also a number of <a href="http://www.northscale.com/products/webinars.html">webinars</a> available for getting started, and a very active user <a href="http://forums.northscale.com/">forum</a> as well. </p>
<p>Hope to see you at the show!</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/Dn__pOJj7Xk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/meetup-with-membase-at-vmworld-win-an-ipad.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/meetup-with-membase-at-vmworld-win-an-ipad.html</feedburner:origLink></item>
		<item>
		<title>Preview of Membase Beta 3</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/js2UyoxeMIk/preview-of-membase-beta-3.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/preview-of-membase-beta-3.html#comments</comments>
		<pubDate>Fri, 13 Aug 2010 19:15:26 +0000</pubDate>
		<dc:creator>Perry Krug</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[membase]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=835</guid>
		<description><![CDATA[Hey everyone, 
Things are moving at the speed of light over here and I wanted to take a second to come up for air.
We just had our 7th weekly beta webinar and this week I did a demo/preview (albeit quick) of some of the features and functionality coming in our soon-to-be-released beta 3.
Check out the [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone, </p>
<p>Things are moving at the speed of light over here and I wanted to take a second to come up for air.</p>
<p>We just had our 7th weekly beta webinar and this week I did a demo/preview (albeit quick) of some of the features and functionality coming in our soon-to-be-released beta 3.</p>
<p>Check out the <a href="http://www.northscale.com/products/webinars.html">recorded webinar </a>for a sneak-preview and then download the real thing when it&#8217;s available.</p>
<p>Thanks for all the feedback and please keep it coming.</p>
<p>P.S. If you happen to be in the area today, stop by for a beer and some eats at our parking lot BBQ (behind our Mountain View offices from 3-8pm.)</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/js2UyoxeMIk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/preview-of-membase-beta-3.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/preview-of-membase-beta-3.html</feedburner:origLink></item>
		<item>
		<title>Memcached, go-derper, Black Hat and an Amazon Web Services (AWS) Security Bulletin</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/4x0PPvok4KY/memcached-go-derper-black-hat-and-an-amazon-web-services-security-bulletin.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/memcached-go-derper-black-hat-and-an-amazon-web-services-security-bulletin.html#comments</comments>
		<pubDate>Tue, 10 Aug 2010 20:11:20 +0000</pubDate>
		<dc:creator>Frank Weigel</dc:creator>
				<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=817</guid>
		<description><![CDATA[If you are a user of memcached and have deployed instances on Amazon EC2, you may have received a message from Amazon over the weekend (we received one on 8/7/2010) indicating you may have a “Possible Insecure Memcached Configuration.” Here’s the body of the message we received:
We&#8217;ve sent you this email to let you know [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a user of memcached and have deployed instances on Amazon EC2, you may have received a message from Amazon over the weekend (we received one on 8/7/2010) indicating you may have a “Possible Insecure Memcached Configuration.” Here’s the body of the message we received:</p>
<p><em>We&#8217;ve sent you this email to let you know that we have observed that you may be running memcached in an insecure configuration. Specifically, we have noticed that you have at least one security group that allows the whole internet to have access to the port most commonly used by memcached (11211).</p>
<p>There has been a lot of recent attention by the security community about the lack of access controls on memcached and recently some exploits have been published. This has highlighted the importance of running with strict access controls. While we are not aware of any unauthorized access to your Amazon EC2 instances, we do believe you should have your technical team look at this immediately. </p>
<p>We suggest that you audit your security group settings and restrict access to only the instances and IP addresses that need access. Most users only authorize other Amazon EC2 instances to access their memcached server. If you need to access your memcached server from outside of Amazon EC2, you can also authorize just trusted addresses to access your security group. </p>
<p>If you need additional assistance, you can reach our Premium Support team by sending email to aws-security-support@amazon.com.</p>
<p>Regards,<br />
The Amazon Web Services Team</em> </p>
<p>Great email and service from the AWS team, and the suggested fix is spot on.</p>
<p>This posting is meant to provide some background on the issue and the alluded to “recent attention” the issue has received. The issue is relevant to all users of memcached, not just those deploying on Amazon EC2. </p>
<p><strong>The vulnerability</strong><br />
The genesis of this bulletin was almost certainly the result of the development of <a href="http://www.sensepost.com/blog/4873.html">go-derper </a>by the team at sensepost, highlighted at the <a href="http://www.blackhat.com">blackhat</a> USA 2010 conference on July 30, 2010.</p>
<p>The highlighted vulnerability can be summarized as: if you deploy memcached on a server, leave the TCP port on which memcached is configured to listen (11211, by default) exposed to the Internet, leave the memcached ASCII protocol enabled, AND you are not using SASL authentication with the memcached binary protocol, then there is a trivial way for Bad Guys to retrieve and replace most of the contents of your cache. <a href="http://www.sensepost.com/cms/resources/labs/tools/poc/go-derper/go-derper.tgz">go-derper.rb</a> is a simple Ruby application, built by sensepost, that can be used to exploit the vulnerability. </p>
<p><strong>Eliminating the vulnerability</strong><br />
 Let’s examine the vulnerability, clause-by-clause, and highlight what can be done to eliminate it, starting at the top:<span id="more-817"></span></p>
<p><em>“If you deploy memcached on a server,”</em></p>
<p>This may seem silly to consider, but there are actually options here. Not everyone needs to deploy and configure memcached on a server themselves in order to use the technology. If you are deploying memcached on a cloud platform, for example, you may simply leverage a pre-built image or even an add-on service. </p>
<p>We run the memcached add-on service for Heroku (itself run on Amazon infrastructure), the leading platform-as-a-service cloud provider for Ruby applications. Because we manage the memcached add-on, our deep expertise with memcached is implicitly brought to bear on behalf of the thousands of applications deployed on Heroku that leverage our memcached add-on.  </p>
<p>Additionally, we are working closely with our friends at RightScale to make pre-configured memcached images available for those who want to deploy pre-configured memcached and membase instances on Amazon AWS.</p>
<p>If you are using one of these deployment options, we’ve ensured the configuration is secure. </p>
<p><em>“[if you] leave the TCP port on which memcached is configured to listen (11211, by default) exposed to the Internet,”</em></p>
<p>If you have deployed your own instance of memcached, either on your own equipment or in a cloud computing environment, then you need to ensure a firewall is protecting the system. </p>
<p>Amazon provides a rich set of capabilities for expressing and enforcing access control for <a href="http://docs.amazonwebservices.com/AWSEC2/2007-08-29/DeveloperGuide/using-and-securing-the-network.html">instances running on EC2</a>. </p>
<p>NorthScale co-founder Dustin Sallings also weighed in over the weekend; his <a href="http://dustin.github.com/2010/08/08/memcached-security.html">blog</a> provides great additional detail, especially regarding firewalling. </p>
<p><em>“[if you] leave the memcached ASCII protocol enabled,”</em></p>
<p>As built, the go-derper exploit depends on use of the ASCII protocol.</p>
<p>Memcached provides both an <a href="http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt">ASCII protocol </a> and a <a href="http://code.google.com/p/memcached/wiki/MemcacheBinaryProtocol">binary protocol</a>. The binary protocol was co-developed by NorthScale’s own Trond Norbye while employed by SUN Microsystems. </p>
<p>The fact of this vulnerability is that it also exists in the binary protocol, but the binary protocol supports authentication and access control, providing a mechanism for securing the data. </p>
<p>The ASCII protocol, the original protocol developed for memcached, does not have any facility for authentication or access control, and thus is not suitable for hanging on the public Internet. This protocol was explicitly developed for use behind a firewall, as a “back-end,” protected system. </p>
<p>In the unlikely event that you have some good reason to make the memcached port available to any host on the public Internet, but want to control access to the data, then you should disable ASCII protocol support (and enable SASL authentication on the binary protocol, as described next). The NorthScale distribution of memcached makes it easy to configure memcached to NOT bind the ASCII protocol listener to the memcached port.</p>
<p><em>“AND [if] you are not using SASL authentication with the memcached binary protocol,”</em></p>
<p>As mentioned above, the memcached binary protocol in recent releases of memcached does support authentication and access authorization via the SASL protocol.</p>
<p>The NorthScale distribution of memcached makes it very easy to leverage this capability. Creating a new “bucket” in our memcached distribution provides both multi-tenancy capability (allowing multiple applications to securely bind to a single memcached cluster) and serves as the vehicle for SASL credential binding. It is this capability that allows us to securely support thousands of memcached add-on users up on Heroku without running thousands of individual servers.</p>
<p>If you are using an older version of memcached (most linux distributions ship with antiquated versions of the software), and you need authenticated access support, you should look at a more recent version of the software. I certainly recommend <a href="http://www.northscale.com/products/overview.html">our distribution</a>. </p>
<p><strong>The memcached historical context</strong><br />
The vulnerability is not surprising. Memcached was initially built by Brad Fitzpatrick for use at LiveJournal, in an environment where control over servers and network security was managed by a skilled team of system administrators. With many lines of defense in front of memcached, there was little need to build yet another layer of security into memcached itself, where the inevitable price would be development effort (effort better spent building blogging features) and performance (in an environment where many millions of memcached transactions are processed per day, and every single microsecond counts).</p>
<p>In a perfect world, every person developing and deploying software should fully understand the characteristics of all the underlying software infrastructure components on which their software is dependent; have a firm understanding of network security, policy formulation and policy enforcement; and regularly audit their operational environment while tracking emerging threats. Few systems would get deployed. In fact, I think it is fair to say that some of the most popular web applications on the Internet today would never have seen the light of day under those constraints.</p>
<p>In the real world, there is a lot of interesting software being developed and deployed by people who are not themselves, and who frequently do not have the resources to employ, experienced system administrators and network security specialists. They just want to get their software or service in the hands of as many users as possible, as quickly as they possibly can. If and when the billions of operations per second materialize, then the microseconds can be wrung out, hopefully by a competent team of system administrators which the organization can then attract, and afford.</p>
<p><strong>An aside on cloud computing</strong><br />
Ultimately, this is one of the promises of cloud computing, as outlined in one of our <a href="http://www.northscale.com/files/public/NorthScale_MCDS_Cloud_Whitepaper.pdf">white papers</a>. Cloud computing is not just about transforming capital to operating expenses, or about leveraging service provider economies of scale. Managed hosting providers have been doing that for over a decade. Cloud computing ultimately enables software developers to develop and deploy software, without also building up expertise in system administration and network security. Ultimately the world is a better place as a result. More developers are empowered to build and deliver software solutions.</p>
<p>Amazon has demonstrated part of the value they provide to their customer base: they have tracked a newly highlighted vulnerability that is widely relevant (given the broad deployment of memcached) to their users, identified specific users at risk (possible given the metadata used to configure the virtual machine instances that ultimately underlie running systems on EC2) and notified them in a timely manner precisely how to deal with the problem. Serious value add.</p>
<p><strong>Where do you get your memcached?</strong><br />
The team here at NorthScale provides the vast majority of the contributed source code to the memcached and membase open source projects. We respect the clearly expressed desire of the larger memcached development community that the core of memcached should remain raw, fast and best suited for those who know what they are doing.</p>
<p>We also make available commercially-supported, certified, less “raw” versions of those systems, making it easier for organizations to deploy, configure, secure and manage the software. While the memcached development community doesn’t want the code base polluted with “ease of use” features, there is a much larger potential community of users of the software that will be better off with those features present. Same goes for things like replication and live cluster reconfiguration. Many users want these capabilities, but the core community would prefer to keep them out of memcached proper. We make them freely available in our distribution and make the source code available in related projects (e.g. <a href="http://github.com/northscale/bucket_engine">http://github.com/northscale/bucket_engine</a>).</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/4x0PPvok4KY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/memcached-go-derper-black-hat-and-an-amazon-web-services-security-bulletin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/memcached-go-derper-black-hat-and-an-amazon-web-services-security-bulletin.html</feedburner:origLink></item>
		<item>
		<title>NorthScale Membase – We’re Making Great Progress</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/uTEMAU40MGU/membase-making-great-progress.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/08/membase-making-great-progress.html#comments</comments>
		<pubDate>Mon, 02 Aug 2010 15:54:54 +0000</pubDate>
		<dc:creator>Perry Krug</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[membase]]></category>
		<category><![CDATA[nosql]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[moxi]]></category>
		<category><![CDATA[NorthScale Membase Server]]></category>
		<category><![CDATA[tap interface]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=799</guid>
		<description><![CDATA[It seems like just yesterday we posted the bits for Beta 1 for Membase Server, but in fact it was over a month ago and since then we’ve demo’d Membase at a number of events and have had literally hundreds of conversations with users, customers, partners and anyone else interested in NoSQL solutions.
It’s been a [...]]]></description>
			<content:encoded><![CDATA[<p>It seems like just yesterday we posted the bits for Beta 1 for Membase Server, but in fact it was over a month ago and since then we’ve demo’d Membase at a number of events and have had literally hundreds of conversations with users, customers, partners and anyone else interested in NoSQL solutions.</p>
<p>It’s been a whirlwind (in a good way!) of activity and I wanted to personally thank everyone who’s been involved and provided feedback. Being the beta program manager, I wanted to touch specifically on the last month as it relates to the beta program at large:<span id="more-799"></span></p>
<p><strong>NorthScale Membase Server (aka – The product)</strong> – It’s been a great pleasure to work with such a talented and dedicated group of individuals here at NorthScale. We are radically focused on making Membase simple, fast and elastic. We’ve met that charge with flying colors but there’s still a lot more work to be done. Here’s where we were and where we are:</p>
<p><em>Beta 1</em> – Made available on June 23, it contained the basic features of complete memcached compatibility, replication and persistence of data as well as the ability to rebalance the data across multiple nodes. Alongside the beta release we introduced the Membase open-source project at <a href="http://membase.org">membase.org</a>.</p>
<p><em>Beta 1.1</em> – A quick refresh of the beta 1 code to address some known issues and introduce Ubuntu support! One of the earliest and most sought after features, we now support Ubuntu as well as RedHat/CentOS. Windows support is coming soon (see below).</p>
<p><em>Beta 2</em> – A major update of the code to fix bugs and add new features. Some of the key additions were:</p>
<ul>
<li>Disk &gt; RAM. The first release required that your RAM was equal to your persistent storage. No more! Now you can define more disk than you have RAM available and we will handle moving data “up” and “down” based upon access patterns.</li>
<li>Statistics in the UI – Our first pass at providing statistics of the cluster through the UI. Much more to come.</li>
<li>Standalone Moxi – There is a proxy running on every Membase server in order to maintain compatibility with the open source memcached protocol. Running it on the server introduces some performance overhead and so now you can run it locally on the client to eliminate any unnecessary network traffic. See <a href="http://blog.northscale.com/northscale-blog/2010/07/moxi-and-vbuckets.html">Steve Yen’s post </a>to learn more.</li>
</ul>
<p>The release notes for all versions are available <a href="http://www.northscale.com/products/documentation/releasenotes.html">here</a>.</p>
<p><strong>Beta Webinars </strong>– We’ve presented weekly webinar calls since the start of Beta1. I’ve fielded dozens of questions from participants and the feedback has been invaluable in making this beta program successful. A quick recap of the webinars to date (<a href="http://www.northscale.com/products/webinars.html">recordings</a> are available):</p>
<ul>
<li>July 1 – The first webinar! We had just launched the beta a few days before and I demo’ed the initial setup and installation of Membase.</li>
<li>July 8 – A demo on the rebalancing operation within Membase which allows you to add/remove nodes and automatically distribute the data and load across the cluster.</li>
<li>July 15 – Matt Ingenthron presented our REST interface and how it can be used to programmatically control your Membase cluster.</li>
<li>July 22 – I showed off the slick new features of our Beta 2 release: statistics in the UI, disk &gt; RAM, client-side proxy for improved performance (Moxi)</li>
<li>July 29 – The most recent webinar where I showed off the TAP interface which is an extremely powerful piece of technology upon which is built replication, rebalancing, querying/indexing, Hadoop integration and much more!</li>
</ul>
<p><strong>Forums</strong> &#8211; The <a href="http://forums.northscale.com/">forums</a> have provided a direct and public channel from users to NorthScale. The most popular topics have been:</p>
<ul>
<li>Using Membase as a memcached server</li>
<li>Performance overhead</li>
<li>Deleting/flushing the storage bucket</li>
<li>Querying/search feature</li>
<li>Lack of capability in the GUI (yes, a bit of a black eye, but we’ve heard your cries!)</li>
</ul>
<p><strong>Looking forward </strong>– We’re not there yet people! There’s more to come including Windows support, multi-bucket support, and more UI cleanup/additions and …</p>
<p><strong>Your call to action!</strong> – Now is where I need YOUR help. A beta program is only as successful as the users who participate. It is my job to make sure that you guys are actively engaged and that beta feedback is heard and understood. Please send me (perry@northscale.com) any and all use cases, feedback, requests, problems and questions. I have been engaging with people on a daily basis and have been getting some great information but I always want more.</p>
<p>And on a personal note – please get in touch with me or NorthScale the minute you experience an issue. Beta code has its bugs, but we don’t want them getting in the way of showing you what Membase can do…which is pretty darn cool, imho.</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/uTEMAU40MGU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/08/membase-making-great-progress.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/08/membase-making-great-progress.html</feedburner:origLink></item>
		<item>
		<title>membase at OSCON 2010</title>
		<link>http://feedproxy.google.com/~r/northscalefeed/~3/TAOdP-BI6Rw/membase-at-oscon-2010.html</link>
		<comments>http://blog.northscale.com/northscale-blog/2010/07/membase-at-oscon-2010.html#comments</comments>
		<pubDate>Tue, 27 Jul 2010 22:44:20 +0000</pubDate>
		<dc:creator>Matt Ingenthron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.northscale.com/?p=785</guid>
		<description><![CDATA[Last week was very busy.  We at NorthScale had the release of beta 2 of membase  followed by membase&#8217;s presence at a second conference.  Though we&#8217;d  already launched the project, OSCON was a great platform to get into  further detail about membase itself, the project behind it, what&#8217;s in  the roadmap [...]]]></description>
			<content:encoded><![CDATA[<p>Last week was very busy.  We at NorthScale had the release of beta 2 of membase  followed by membase&#8217;s presence at a second conference.  Though we&#8217;d  already launched the project, OSCON was a great platform to get into  further detail about membase itself, the project behind it, what&#8217;s in  the roadmap and how other folks can get involved.<span id="more-785"></span></p>
<p>I had the opportunity to do this through a session at the conference.  Slides are <a href="http://www.northscale.com/files/public/membase-the-simple-fast-elastic-noSQL-database-OSCON2010.pdf">available for download</a>.</p>
<p>Unfortunately, this presentation was not recorded, but you can certainly post questions here and I&#8217;d be glad to answer.</p>
<hr />Our partners from <a href="http://nhncorp.com">NHN</a> also attended the session, contributing some information on how they came to membase and deploy.  It was great that they were willing to give us a peek behind the curtain a bit.</p>
<p>There are several slides in there about their current cache deployment and their involvement in membase.  This is <span style="text-decoration: underline">serious</span> stuff.  Daily, their cache and membase deployment are right in the critical path of the top dozen or so applications at NHN.  These service 17M users daily across their 250 M  unique users.  In China alone, their services touch up to 750K <em>concurrent</em> users.</p>
<p>The success in deployment of moxi and memcached there have both given confidence in and lended to the design and ongoing deployment of membase at NHN.</p>
<p>Please look over the slides and join us over on the mailing list/IRC/XMPP off of <a href="http://membase.org">membase.org</a> or send me a note if you&#8217;d like to learn more.</p>
<img src="http://feeds.feedburner.com/~r/northscalefeed/~4/TAOdP-BI6Rw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.northscale.com/northscale-blog/2010/07/membase-at-oscon-2010.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blog.northscale.com/northscale-blog/2010/07/membase-at-oscon-2010.html</feedburner:origLink></item>
	</channel>
</rss>
