<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Erik's Blog</title>
	<atom:link href="http://erikeldridge.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://erikeldridge.wordpress.com</link>
	<description>Erik's Blog</description>
	<lastBuildDate>Thu, 26 Nov 2009 04:02:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='erikeldridge.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/8674e1bc3719f85a777aa8c30c846f9f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Erik's Blog</title>
		<link>http://erikeldridge.wordpress.com</link>
	</image>
			<item>
		<title>Simpleton Pattern</title>
		<link>http://erikeldridge.wordpress.com/2009/11/25/simpleton-pattern/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/25/simpleton-pattern/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 04:02:33 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/2009/11/25/simpleton-pattern/</guid>
		<description><![CDATA[Simpleton pattern
Problem
We don&#8217;t want multiple objects of the same class, but we also don&#8217;t want to clutter our code with the kind of checks required to implement the Singleton pattern
Solution
Kill program execution if a second attempt to instantiate an object occurs
Example
class Foo {
    function constructor(){
        [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=482&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h1 id="simpleton_pattern">Simpleton pattern</h1>
<h2 id="problem">Problem</h2>
<p>We don&#8217;t want multiple objects of the same class, but we also don&#8217;t want to clutter our code with the kind of checks required to implement the Singleton pattern</p>
<h2 id="solution">Solution</h2>
<p>Kill program execution if a second attempt to instantiate an object occurs</p>
<h2 id="example">Example</h2>
<pre><code>class Foo {
    function constructor(){
        if(objectOfClassAlreadyExists('Foo')){
            stopExecution();
        }

        ...

    }
}

...

variable foo = new Foo //all good

...

variable bar = new Foo  //poof!
</code></pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/482/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=482&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/25/simpleton-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>notes from Cloud Expo 2009: Chuck Neerdaels on &#8220;Yahoo! Scalable Storage and Delivery Services&#8221;</title>
		<link>http://erikeldridge.wordpress.com/2009/11/04/notes-from-cloud-expo-2009-chuck-neerdaels-on-yahoo-scalable-storage-and-delivery-services/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/04/notes-from-cloud-expo-2009-chuck-neerdaels-on-yahoo-scalable-storage-and-delivery-services/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 17:50:34 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/2009/11/04/notes-from-cloud-expo-2009-chuck-neerdaels-on-yahoo-scalable-storage-and-delivery-services/</guid>
		<description><![CDATA[- 280k image requests/sec
- 300k req/sec
demo
- sports, travel, mail, news
internal expectations
- global
common challenges
- spped of light
- spikes
- cost
&#8211; space, paower, bandwidth, replication bandwidth
- partitioned network failures
&#8211; data center failures
&#8211; cap theorem
- consumer/user intuition
&#8211; replication is not bcp
&#8211; 
mobstor &#38; sherpa
- mobstor
&#8211; storage and delivery cloud
&#8211; cdns make sense when we have 90% cache hit rate
&#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=479&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>- 280k image requests/sec<br />
- 300k req/sec</p>
<p>demo<br />
- sports, travel, mail, news</p>
<p>internal expectations<br />
- global</p>
<p>common challenges<br />
- spped of light<br />
- spikes<br />
- cost<br />
&#8211; space, paower, bandwidth, replication bandwidth<br />
- partitioned network failures<br />
&#8211; data center failures<br />
&#8211; cap theorem<br />
- consumer/user intuition<br />
&#8211; replication is not bcp<br />
&#8211; </p>
<p>mobstor &amp; sherpa<br />
- mobstor<br />
&#8211; storage and delivery cloud<br />
&#8211; cdns make sense when we have 90% cache hit rate<br />
&#8211; features<br />
&#8212; global<br />
&#8212;- caching<br />
&#8212;- protocol termination<br />
&#8212;- authentication<br />
&#8212;- content routing<br />
&#8212; local<br />
&#8212;- auto expiration<br />
&#8212;- de-dup<br />
&#8212;- object placement<br />
&#8212;- re-replication<br />
&#8211; layeruing<br />
&#8212; dns gslb &#8211;&gt; hardware vip &#8211;&gt; scalable session mgr &#8211;&gt; geo replication &#8211;&gt; internal dns w/ loop feedback &#8211;&gt; hardware vip &#8211;&gt; local replication &#8211;&gt; separate metadata replication<br />
- sherpa<br />
&#8211; simply put, it&#8217;s sharded mysql w/ replication<br />
&#8211; stack: dns &#8211;&gt; hadware vip &#8211;&gt; scalable router &amp; session mgr &#8211;&gt; geo repl &#8211;&gt; &#8230;</p>
<p>physics &amp; econ for a global cloud<br />
- what&#8217;s your target sla?<br />
&#8211; distance + speed of light + network degredation = latency<br />
&#8211; selective replication<br />
- lessons learned<br />
&#8211; intuition is usually wrong: let data drive data<br />
&#8211; provide hoks, experimental fedback, and mobility<br />
&#8211; n-way global repl is really expensive<br />
&#8211; customers don&#8217;t understand 95/5 billing<br />
&#8211; customers don&#8217;t understand cap theorem<br />
&#8211; verify all provisioning<br />
&#8212; there are a lot of non-hardware issues that can affect hardware performance<br />
&#8211; strive for quality, but plan for failure</p>
<p>why care about y! cloud?<br />
- commitment to open source<br />
&#8211; componenet approach<br />
&#8211; traffic server<br />
&#8212; a handful of ppl for more than a year worked on open sourcing<br />
&#8212; it&#8217;s a huge benefit to the community<br />
&#8212; 400tb/day on 150 commodity boxs!<br />
&#8212; would you want to build your company oin a web server that no one else uses?<br />
&#8211; zookeeper</p>
<p>q/a<br />
- why mobstor?<br />
&#8211; mobstor solved the problem of brittl urls<br />
- why dora?<br />
&#8211; mobstor was built on filers<br />
&#8211; dora was developed to replace filers<br />
- commodity box costs<br />
&#8211; &lt; $4k / box<br />
&#8211; highest density sata: 12 drives x 1tb/drive<br />
- k/v store vs. relational db?<br />
&#8211; everyone would love acid transactions, but they also need consistency &amp; geo replication<br />
- uses of k/v stores?<br />
&#8211; mail uses it to assoc abuse records w/ ip addresses</p>
<p>about 150 ppl, 3/4+ full</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/479/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=479&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/04/notes-from-cloud-expo-2009-chuck-neerdaels-on-yahoo-scalable-storage-and-delivery-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>notes from Cloud Expo 2009: Christophe Bisciglia on &#8220;Working with Big Data and Hadoop&#8221;</title>
		<link>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-christophe-bisciglia-on-working-with-big-data-and-hadoop/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-christophe-bisciglia-on-working-with-big-data-and-hadoop/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 02:26:36 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[cloudera]]></category>
		<category><![CDATA[cloudexpo09]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=477</guid>
		<description><![CDATA[falicies
- machines are reliable
- machines are unique or identifiable
- a data set should fit on one machine
hadoop
- it&#8217;s not a database
&#8211; it doesn&#8217;t serve data in real-time
&#8211; it augments existing DBs
&#8211; it does enable deeper analysis that would normally slow a relational DB
- leverages commodity hardware for big data &#38; analytics
- cloudera does for hadoop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=477&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>falicies<br />
- machines are reliable<br />
- machines are unique or identifiable<br />
- a data set should fit on one machine</p>
<p>hadoop<br />
- it&#8217;s not a database<br />
&#8211; it doesn&#8217;t serve data in real-time<br />
&#8211; it augments existing DBs<br />
&#8211; it does enable deeper analysis that would normally slow a relational DB<br />
- leverages commodity hardware for big data &amp; analytics<br />
- cloudera does for hadoop what redhat does for linux</p>
<p>examples<br />
- fox<br />
&#8211; hat ppl are watching on set-top obxes<br />
- autodesk<br />
- D.E.Shaw<br />
&#8211; analyze financial data<br />
- mailtrust<br />
&#8211; use hadoop to process mail logs and generate indexes that suport staff can use to make adhoc queries</p>
<p>data<br />
- scientific and experimental data<br />
- storage<br />
&#8211; multiple machines are req&#8217;d to store the amount of data we&#8217;re interested in<br />
&#8211; replication protects data from failure<br />
&#8212; data is also 3 times as available</p>
<p>map-reduce<br />
- allows for processing data locally<br />
- allows for jobs to fail and be restarted</p>
<p>hadoop&#8217;s fault tolerance<br />
- handled at software level</p>
<p>using hadoop<br />
- map-reduce<br />
&#8211; natively written in java<br />
&#8211; map-reduce can be written in any language<br />
- hive<br />
&#8211; provides sql interface<br />
- pig<br />
&#8211; high level lang for ad-hoc analysis<br />
&#8211; imperative lang<br />
&#8211; great for researchers and techinical prod. managers</p>
<p>high performance DB and analytics.  when is it time for hadoop<br />
- in general<br />
&#8211; generation rate exceeds load capacity<br />
&#8211; performance/cost considerations<br />
&#8211; workloads that impede performance<br />
- db<br />
&#8211; 1000s of transactions per second<br />
&#8211; many concurrent queries<br />
&#8211; read/write<br />
&#8211; many tables<br />
&#8211; structured data<br />
&#8211; high-end machines<br />
&#8211; annual fees<br />
- hadoop<br />
&#8211; append only update pattern<br />
&#8211; arbitrary keys<br />
&#8211; unstructured or structured data<br />
&#8211; commodity hardware<br />
&#8211; free, open source</p>
<p>arch<br />
- traditional: web server &#8211;&gt; db &#8211;&gt; oracle &#8211;&gt; biz analytics<br />
- hadoop: web server &#8211;&gt; db &#8211;&gt; hadop &#8211;&gt; oracle &#8211;&gt; biz analytics</p>
<p>cost<br />
- data storage costs drops every year<br />
- hadoop removes bottlenecks; use the right tool for the job<br />
- makes biz intel apps smarter</p>
<p>tools<br />
- cloudera&#8217;s distro for hadoop<br />
- cloudera desktop</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/477/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=477&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-christophe-bisciglia-on-working-with-big-data-and-hadoop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>notes from Cloud Expo 2009: Surendra Reddy&#8217;s presentation on &#8220;Walking Through Cloud Serving at Yahoo!&#8221;</title>
		<link>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-surendra-reddys-presentation-on-walking-through-cloud-serving-at-yahoo/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-surendra-reddys-presentation-on-walking-through-cloud-serving-at-yahoo/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:11:18 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[cloudexpo09]]></category>
		<category><![CDATA[sureddy]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=472</guid>
		<description><![CDATA[open cloud access protocol (opencap)
- definition, deployment, and life cycle mgmt of cloiud resources
- aloc, provisioning, and metering of clourd resources
- metasdat,/registry for cloud resources
- virtual infrastructure
- why ietf?  they are brilliant folks.  we&#8217;re not attaching any vendor-specific details
- open source implentation planned
- structure
&#8211; resource model
&#8212; all infastructure
&#8212; nodes, networks, etc
&#8211; resource properties
&#8212; modeled as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=472&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>open cloud access protocol (opencap)<br />
- definition, deployment, and life cycle mgmt of cloiud resources<br />
- aloc, provisioning, and metering of clourd resources<br />
- metasdat,/registry for cloud resources<br />
- virtual infrastructure<br />
- why ietf?  they are brilliant folks.  we&#8217;re not attaching any vendor-specific details<br />
- open source implentation planned<br />
- structure<br />
&#8211; resource model<br />
&#8212; all infastructure<br />
&#8212; nodes, networks, etc<br />
&#8211; resource properties<br />
&#8212; modeled as json objects<br />
&#8212; standard catalog of attributes, extensible<br />
&#8211; resource operations<br />
&#8212; operation, control, etc.<br />
&#8211; management ntification services<br />
&#8230;<br />
- smtp is simple.  protocols must be simple<br />
- traffic server has bindings built in (or vice versa?)<br />
- open cloud consortium<br />
&#8211; a national testbed to bring clouds together</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=472&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-surendra-reddys-presentation-on-walking-through-cloud-serving-at-yahoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>Notes from Cloud Expo 2009: Raghu Ramakrishnan&#8217;s talk on the Yahoo! cloud: &#8220;key challenges in cloud computing &#8230; and the yahoo! approach&#8221;</title>
		<link>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-raghu-ramakrishnans-talk-on-the-yahoo-cloud-key-challenges-in-cloud-computing-and-the-yahoo-approach/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-raghu-ramakrishnans-talk-on-the-yahoo-cloud-key-challenges-in-cloud-computing-and-the-yahoo-approach/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:25:25 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloudexpo09]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=467</guid>
		<description><![CDATA[raghu ramakrishnan
- a triumphant preso
- &#8220;key chalengeds in cloud comoputing .. and the y! approach&#8221;
this is a watershed time.  we&#8217;ve spent lots of time building packabged software now wer&#8217;re moving to the cloud
key challenges
- elastic scaling
- availabiolity
&#8211; if the cloud goes down, everyone is hosed.  consistency or performance myst be traded for availoability.
- handliong failures
&#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=467&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>raghu ramakrishnan<br />
- a triumphant preso<br />
- &#8220;key chalengeds in cloud comoputing .. and the y! approach&#8221;</p>
<p>this is a watershed time.  we&#8217;ve spent lots of time building packabged software now wer&#8217;re moving to the cloud</p>
<p>key challenges<br />
- elastic scaling<br />
- availabiolity<br />
&#8211; if the cloud goes down, everyone is hosed.  consistency or performance myst be traded for availoability.<br />
- handliong failures<br />
&#8211; if things go wrong, what can the developer count on when things come up?<br />
- operational efficiency<br />
&#8211; cloud managers are db admins for 1000s of clients<br />
- the right abstractions</p>
<p>yahoo&#8217;s cloud<br />
- the cloud is an ecosystem.  it&#8217;s bigger than a single componenet.  all the pueces must work together seamlessly.</p>
<p>data management in the cloud<br />
- how to make sense of the many options<br />
- what are you trying todo?<br />
- oltp vs olap<br />
- oltp<br />
&#8211; random access to a few records<br />
&#8211; read-heavy vs write-heavy<br />
- olap<br />
&#8211; scan access to a large number of records<br />
&#8211; by rows vs columns vs unstructired<br />
- storage<br />
&#8211; common features<br />
&#8212; managed service. rest apis<br />
&#8212; replication<br />
&#8212; global footprint<br />
&#8211; sherpa<br />
&#8211; mopbstor</p>
<p>y! storage problem<br />
- small records, 100kb or less<br />
- structured records, lots of fields<br />
- extreme data scale</p>
<p>typical applications<br />
- user logins and profiles<br />
&#8211; single=-record transactions suffice<br />
- events<br />
&#8211; alerts, social network activity<br />
&#8211; ad clicks<br />
app-specific data<br />
- postings to messsage boards<br />
- uploaded photos and tags</p>
<p>vsld data serving stores<br />
- scale based on partitioning data accross machines<br />
- range selections<br />
&#8211; requests span machines<br />
- availability<br />
- replication<br />
- durability<br />
&#8211; is it required?<br />
- how is data stored on a single machine?</p>
<p>the cap theorem<br />
- consistency vs availability vs partition tolerance<br />
- consistency =&gt; serializability</p>
<p>approaches to cap<br />
- use a single version of a db w/ defered reconciliation<br />
- defer transaction commit<br />
- eventual consistency eg dynamo<br />
- restrict transatctions eg sharded mysql<br />
- object timelines, eg sherpa<br />
- ref: julianbrowne.cim/artice/viewer/brewers-cap-theorem</p>
<p>single slide hadoop primer<br />
- hadoop is wrte optimized, not ideal for serving</p>
<p>out there in the world<br />
- oltp<br />
&#8211; oracle, mysql,<br />
&#8211; write optimized: cassandra<br />
&#8211; main-mem; memchached</p>
<p>ways of using hadoop<br />
- data workloads -&gt; olap -&gt; pig for row ops, zebra for column ops, map reduce for others</p>
<p>hadoop based apps<br />
- we own the terasort benchmark</p>
<p>sherpa`<br />
- parallel db<br />
- geo replication<br />
- structured, flexible schemas<br />
- hashed and ordered tables<br />
- components<br />
&#8211; req -&gt; routers -&gt; (record looked up, if necessary) -&gt; lookup cached -&gt; individual machine<br />
- raghu is awesome (&#8220;And then!&#8221;, sprinting through dense slides)<br />
- write-ahead<br />
- asynch replication<br />
&#8211; why? we&#8217;re doing geo replication due to the physics involved<br />
&#8211; supposing an eearthquake hits and ca falls in th ocean, two users can continue to update their profiles<br />
- consistency model<br />
&#8211; acid requiores synch updates<br />
&#8211; eventual consistency works<br />
&#8211; is there any middle ground?<br />
&#8211; sherpa follows a timeline of changes achieved through a standard per-record primary copy protocol</p>
<p>operability<br />
- cloud allows us to apperate at scale<br />
- tablet splitting and balancing<br />
- automatic transfer of mastership</p>
<p>comparing systems<br />
- main point: all of this needs to be thought through and handled automatically</p>
<p>example<br />
- sherpa, oracle, mysql work well for oltp</p>
<p>banchmark tiers<br />
- cluster performance<br />
- replication<br />
- scale out<br />
- availability<br />
- we&#8217;d like to do this a group effort, in keeping w/ our philosophy</p>
<p>the integrated cloud<br />
- big idea: declrative lang for specifying structure of service<br />
- key insight: multi-env<br />
- central mechanism: the integrated cloud<br />
- surrendra will talk about htis</p>
<p>foundation componenets<br />
- how to describe app<br />
- desc for resources, entrypoijts, bindings, etc</p>
<p>yst hadled 16.4 million uniques for mj death news</p>
<p>acm socc<br />
- acm symposium on cloud computing</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/467/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=467&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-raghu-ramakrishnans-talk-on-the-yahoo-cloud-key-challenges-in-cloud-computing-and-the-yahoo-approach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>Notes from Cloud Expo 2009: Shelton Shugar, &#8220;Accelerating Innovation with Cloud Computing&#8221;</title>
		<link>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-shelton-shugar-accelerating-innovation-with-cloud-computing/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-shelton-shugar-accelerating-innovation-with-cloud-computing/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:51:13 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[yahoo cloud]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/2009/11/03/464/</guid>
		<description><![CDATA[Shelton Shugar just delivered an excelllent keynote address &#8220;Accelerating Innovation with Cloud Computing&#8221; at the 4th &#8220;Cloud Conference and Expo&#8221;:http://cloudcomputingexpo.com/ in Santa Clara.  The subtitle of the expo is &#8220;&#8221;.  This is also the 7th annual virtualization summit.
notes
Yahoo is not here to sell you anything; we&#8217;re not into consulting or selling software.  At Yahooo! cloud [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=464&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Shelton Shugar just delivered an excelllent keynote address &#8220;Accelerating Innovation with Cloud Computing&#8221; at the 4th &#8220;Cloud Conference and Expo&#8221;:http://cloudcomputingexpo.com/ in Santa Clara.  The subtitle of the expo is &#8220;&#8221;.  This is also the 7th annual virtualization summit.</p>
<p>notes<br />
Yahoo is not here to sell you anything; we&#8217;re not into consulting or selling software.  At Yahooo! cloud computing is not about saving money.  Our motivation arises from the fact that cloud computing drives innovation.  Cloud computing is the &#8220;engine of innovation&#8221;.  Yahoo! has hundreds of products and platforms all over the world.  Many of these products were the result of acquisition, so they came onboard w/ their own infrastructure, down tot he metal.  Cloud computing at y! is about streamlining the services these products and platforms require.  We store hundreds of petabytes of data all ove the world, and petabytes of internet traffic daily.  We think about scale foremost and features second.</p>
<p>cloud strategy<br />
we are building a private cloud, deployed in data centers all over the world.  focusing in two areas: data processing and serving.  data processing refers to data minigna nd analysis.  serving refers to app environments for our products, edge capabilities for fast delivery, and a channel for data to flow into storage.  This is a multi-year effort.  &#8220;Open source plays a central role&#8221;.  We both consume and produce open source.</p>
<p>inside the y! cloud<br />
5 buckets: edge services, cloud serving where we host apps w/in y!, online storage for serving content to consumers, a batch rocessing data warehouse, data collection services to clean, de-dup, and filter incoming data.</p>
<p>Serving is based on the Yahoo! Traffic Server.  Over half of all y! traffic flows through YST.</p>
<p>The app serving layer is based on a tiered architecture.  Apps can be cloned.  Traffic can be split natively, which allows for bucket testing.  THis frees developer from having to worry about versions of the platform, location of machines, etc.  Capacity can be moved via point and click.</p>
<p>Storage<br />
Uses Restful apis.  Deployed worldwide.  Global replication is supported natively.  Multiple consistency models are provided.  Mobstore (mass object store) is used to store large objects (1mb-2gb) such as images and video.  Objects are immutable.  Structured content is provided via a product called Sherpa, a key-value store.  Content can be replicated easily.  Sherpa is intended to support enough of the capabilities properties used to build.mainatin relational dbs for.</p>
<p>Batch processing is oriented around Hadoop.  This has been running for a few years.  It now runs on 10s of thousands of machines.  80PB worth.  We use it to optimize our sadvertising, process weblogs.  1000s of yahoos are trained to run jobs on it.  hdfs allows thousands of computers to be treated as a single machine.  Pig is a higher-level procedural lang that generates map-reduce code.  It&#8217;s almost as efficient a well-written map-reduce code.  the internal joke is that most people don&#8217;t write well-written map-reduce code.  We&#8217;re building columnar storage.</p>
<p>An example: the y! homepage<br />
When a user visits the homepage, the user is usung y! cloud services.  Content is optimized using a feedback loop to provide relevant stories in the news offered.  Hadoop is used to optimize ad matching.  Hadoop is used to build the search index.  edge services are used to cahce and load-balance the page content, normalize the news feeds.</p>
<p>Another example of useafge: y! mail.  Hadoop is used to identify and filter spam.  before hadoop, mail engineers had to spend lots of time maintaining storage and machines to process a huge amount of data.  hadooop abstracts scale for processing enormous data, handles failures, and manages multiple users.  this allows the scientists to focus on their jobs.  mail uses cloud storage&#8217;s replication services to help detect abuse.</p>
<p>Y! soprts usage of cloud services.  Edges services provides a proxy service to route requests for dynamic content.  this allows y! sports to provide the most up-to-date content.  People want scores as fast as possible.  the cunsumers are happy due to faster access to content.</p>
<p>y! finance.  y! is #1 for finance.  finance uses hadoop to spped advertisinf optimaization by importing resource utilization.</p>
<p>yql is an sql-like language.  it allows developers to qu ery, filter, join etc data.  yql uses sherpa instead of mamnaging its oawn storage.</p>
<p>open source @ y!<br />
hadoop.  we contribute our code for hadoop to open source.  external developers benefit and contribute back.  pig is open source.  zookeeper is a system used to coordinate mutliple systems.  open cissur is a consortium was designed to facilitate to cloud computing.  it has 9 members.  y! contribution is m45, w/ 1000 cores. we work w/ some of the leading universities in the world.   We&#8217;ve built an enormous community around hadoop.  we can hire people straight out of university.  open source attracts the best and the brightest.</p>
<p>About 500 people were in attendance.</p>
<p>The highlight of the talk was his announcement of the newly open-sourced Yahoo! Traffic Server, now an Apache Incubator project.  A &#8220;recent post&#8221;:http://ostatic.com/blog/guest-post-yahoos-cloud-team-open-sources-traffic-server on OStatic gives more information about the project.  trafic server can process up to 34k trasnsactions/sec on commodity hardware.  it&#8217;s modular.  it&#8217;s how we implement our cahcing, proxy, load balancing, etc.  we push 400tb daily through it.  we use it in online storage to help direct traffic.  we&#8217;re hoping to create a vibrnt community around traffic server like we did w/ hadoop.</p>
<p>Back in june, we announced the y! distribution of hadoop.  we select the code we need and test it well.  it&#8217;s a solid collection of code that&#8217;s been proven to work.  shelton annouced that we&#8217;re now updating our releas.</p>
<p>change<br />
we&#8217;re fully committed to cloud computing.  &#8220;moving to the cloud requires change&#8221;.  if you&#8217;re like us, w/ lots of legacy systems, you need to make a big organization commitment.  it&#8217;s more like  amarriage than a transaction.  it takes invesment to create these services and migrate to them.  it takes time.  ours is a multi-year effort.  cloud computing is worth it for us.  it&#8217;s changing our cutlure.  we&#8217;re able to deploy so much faster than before.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/464/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=464&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/03/notes-from-cloud-expo-2009-shelton-shugar-accelerating-innovation-with-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>Notes from Christian Heilmann’s Developer Evangelism handbook</title>
		<link>http://erikeldridge.wordpress.com/2009/11/02/notes-from-christian-heilmann%e2%80%99s-developer-evangelism-handbook/</link>
		<comments>http://erikeldridge.wordpress.com/2009/11/02/notes-from-christian-heilmann%e2%80%99s-developer-evangelism-handbook/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 00:01:11 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[codepo8]]></category>
		<category><![CDATA[evangelism]]></category>
		<category><![CDATA[heilmann]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=462</guid>
		<description><![CDATA[Notes from Christian Heilmann’s Developer Evangelism handbook

The Developer Evangelist Handbook

“If you are a clever company you also open your products to third party developers and release interfaces to the world” – http://developer-evangelism.com/handbook.php#defining
“If something new comes out of your company that should get out to developers take it and access it like an outside developer would. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=462&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Notes from Christian Heilmann’s <a href="http://developer-evangelism.com/">Developer Evangelism handbook</a></p>
<ul>
<li>The Developer Evangelist Handbook
<ul>
<li>“If you are a clever company you also open your products to third party developers and release interfaces to the world” – <a href="http://developer-evangelism.com/handbook.php#defining">http://developer-evangelism.com/handbook.php#defining</a></li>
<li>“If something new comes out of your company that should get out to developers take it and access it like an outside developer would. Develop something with it, then document what you have developed and then start writing how you build the thing – and voilà – you’ve got half an article or presentation already finished.” –  <a href="http://developer-evangelism.com/handbook.php#mindset">http://developer-evangelism.com/handbook.php#mindset</a></li>
<li>common niches of evangelism: “Writing code tutorials, Blogging, Public speaking, Training, Social web coverage” – <a href="http://developer-evangelism.com/handbook.php#role">http://developer-evangelism.com/handbook.php#role</a></li>
</ul>
</li>
</ul>
<ul>
<li>remove the brand
<ul>
<li>“As a developer evangelist you have to keep your independence.”</li>
<li>“Your independence and your integrity is your main weapon. If you lost it you are not effective any longer. People should get excited about what you do because they trust your judgment – not because you work for a certain company.”</li>
<li>ways to work w/ the competition: “Remain an independent voice”, “Become a specialist in a certain underlying technology”, “Keep your finger on the pulse” –  <a href="http://developer-evangelism.com/brand-and-competition.php#competiton">http://developer-evangelism.com/brand-and-competition.php#competiton</a></li>
<li>“You can’t be a professional evangelist and bad-mouth the competition at the same time. We all are professionals and work on projects to make the web a better place.” –  <a href="http://developer-evangelism.com/brand-and-competition.php#respect">http://developer-evangelism.com/brand-and-competition.php#respect</a></li>
<li>“Acknowledge when the competition is better”</li>
<li>“Know about the competition”</li>
</ul>
</li>
</ul>
<ul>
<li>Work with your own company
<ul>
<li>“Your job as a developer evangelist is to listen to developers, understand their problems and communicate with management to try to sort the issues out.” – <a href="http://developer-evangelism.com/internal.php">http://developer-evangelism.com/internal.php</a></li>
<li>“There is no “off the record”” – <a href="http://developer-evangelism.com/internal.php#companychanges">http://developer-evangelism.com/internal.php#companychanges</a></li>
<li>“if people ask you what is going on don’t say “no comment” as that implies you know something but are not allowed to say it. Simply state that you are not in a position to know yet but that you are investigating.”</li>
</ul>
</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=462&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/11/02/notes-from-christian-heilmann%e2%80%99s-developer-evangelism-handbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>notes from YUIConf 2009: &#8220;Building YUI 3 Custom Modules&#8221;, by Caridy Patino</title>
		<link>http://erikeldridge.wordpress.com/2009/10/29/notes-from-yuiconf-2009-building-yui-3-custom-modules-by-caridy-patino/</link>
		<comments>http://erikeldridge.wordpress.com/2009/10/29/notes-from-yuiconf-2009-building-yui-3-custom-modules-by-caridy-patino/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:21:44 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[caridy]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[yui]]></category>
		<category><![CDATA[yuiconf2009]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=459</guid>
		<description><![CDATA[what is a module in yui 3?
- modules are not plugins, but there is a plugin module
- module names are passed into a sandbox w/ the &#8216;use&#8217; method
- prefer YUI().use instead of var Y = new YUI(); Y.use &#8230;
- you can have multiple use() calls to defer loading
- community modules vs basic yui core team [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=459&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>what is a module in yui 3?<br />
- modules are not plugins, but there is a plugin module<br />
- module names are passed into a sandbox w/ the &#8216;use&#8217; method<br />
- prefer YUI().use instead of var Y = new YUI(); Y.use &#8230;<br />
- you can have multiple use() calls to defer loading<br />
- community modules vs basic yui core team modules</p>
<p>custom modules<br />
- registration<br />
&#8211; by seed YUI().use<br />
&#8212; seed will import<br />
&#8211; by inclusion<br />
&#8212; manually add script include and then YUI.use<br />
&#8211; YUI(config)<br />
&#8212; most performant<br />
&#8212; this takes advantage of onload handling<br />
&#8212; reduces number of http requests req&#8217;d in &#8216;by inclusion&#8217;<br />
&#8212; organization<br />
&#8212;- use YUI_config global var to manage registration<br />
&#8212;- you can have multiple config options</p>
<p>building custom modules<br />
- YUI.add(&#8216;foo&#8217;, fn(Y){mod code}, version, requirement list);<br />
- naming convention: utilities are all lowercase, classes are camelcase w/ uppercase leading char<br />
- plugins extend host modules<br />
- stack: utilities &#8211;&gt; classes &#8211;&gt; plugins &#8211;&gt; mashups</p>
<p>how to use and build plugins<br />
- plugins allow us to extend an existing class at runtime<br />
- the def of a plugin looks much like that for a module class<br />
- instead of extending y.base, we extend y.plugin.base</p>
<p>mashups and legacy code<br />
- using multiple modules, including external dependencies, enhancing dom, defining event listeners<br />
- use case: using a pre-existing yui2-based object in yui3<br />
- check out zakas&#8217; talkon scalable app arch<br />
- cool: organize app as module repo<br />
- conclusions<br />
&#8211; define apps at a granular level<br />
&#8211; modular apps are easier to test<br />
&#8211; share code thru yui3 gallery<br />
&#8211; use yui custom modules to integrate pre-existing code</p>
<p>q/a<br />
- differences btwn yui2 and yui3 lazy loading?<br />
&#8211; yui3 will load everything as a single item, if module requirements are defined using config option<br />
&#8211; yui3 will load items in the order they are specified<br />
- reusing modules across multiple sandbox<br />
&#8211; yes, if defined as such in config</p>
<p>github/caridy<br />
twitter/caridy<br />
caridy.name</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/459/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=459&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/10/29/notes-from-yuiconf-2009-building-yui-3-custom-modules-by-caridy-patino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>attempt to restart/stop yaws failed</title>
		<link>http://erikeldridge.wordpress.com/2009/10/08/attempt-to-restartstop-yaws-failed/</link>
		<comments>http://erikeldridge.wordpress.com/2009/10/08/attempt-to-restartstop-yaws-failed/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 04:52:03 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[yaws]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=453</guid>
		<description><![CDATA[I&#8217;ve got yaws (git hash 5f35f5b7451ea4388c53df9f4e00caad0caa6b45) running on CentOS 5.3.  I just added a virtual host entry in yaws.conf and tried to restart yaws, but the restart failed:
[me@mymachine /]$ sudo etc/init.d/yaws restart
Stopping yaws:                                             [FAILED]
After hunting around a bit, it seems yaws will fail to restart (and stop) if the docroot doesn&#8217;t point to an actual [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=453&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve got yaws (git hash 5f35f5b7451ea4388c53df9f4e00caad0caa6b45) running on CentOS 5.3.  I just added a virtual host entry in yaws.conf and tried to restart yaws, but the restart failed:</p>
<p>[me@mymachine /]$ sudo etc/init.d/yaws restart<br />
Stopping yaws:                                             [FAILED]</p>
<p>After hunting around a bit, it seems yaws will fail to restart (and stop) if the docroot doesn&#8217;t point to an actual directory.  In my case, I added the virtual host entry before actually creating the docroot directory.  Making the directory fixed the problem.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/453/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=453&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/10/08/attempt-to-restartstop-yaws-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
		<item>
		<title>notes: interesting bits from US Federal Cloud Computing Initiative RFQ</title>
		<link>http://erikeldridge.wordpress.com/2009/08/11/notes-interesting-bits-from-us-federal-cloud-computing-initiative-rfq/</link>
		<comments>http://erikeldridge.wordpress.com/2009/08/11/notes-interesting-bits-from-us-federal-cloud-computing-initiative-rfq/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 05:54:05 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[government]]></category>

		<guid isPermaLink="false">http://erikeldridge.wordpress.com/?p=444</guid>
		<description><![CDATA[
ref http://www.scribd.com/doc/17914883/US-Federal-Cloud-Computing-Initiative-RFQ-GSA
“cloud computing is a major feature of the president’s initiative to modernize information technology” (1)
“cloud computing is a model for enabling …” (1)
General Cloud Computing Requirements

“The Contractor shall support internet bandwidth of at least 1Gb/s ” (4)
“The Contractor shall have a minimum of two data center facilities at two different geographic locations in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=444&subd=erikeldridge&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ul>
<li>ref <a href="http://www.scribd.com/doc/17914883/US-Federal-Cloud-Computing-Initiative-RFQ-GSA">http://www.scribd.com/doc/17914883/US-Federal-Cloud-Computing-Initiative-RFQ-GSA</a></li>
<li>“cloud computing is a major feature of the president’s initiative to modernize information technology” (1)</li>
<li>“cloud computing is a model for enabling …” (1)</li>
<li>General Cloud Computing Requirements
<ul>
<li>“The Contractor shall support internet bandwidth of at least 1Gb/s ” (4)</li>
<li>“The Contractor shall have a minimum of two data center facilities at two different geographic locations in the Continental United States (CONUS) and all services acquired under the <span class="caps">BPA</span> will be guaranteed to reside in <span class="caps">CONUS</span>” (4)</li>
<li>“The Contractor shall support provisioning of practically unlimited storage, computing capacity, memory (e.g. at 1000 times our minimum resource unit metrics), independently from the physical location of the facilities.” (4)</li>
<li>“The Contractor shall support service provisioning and de-provisioning times (scale up/down), making the service available within near real-time of ordering.” (4)</li>
</ul>
</li>
</ul>
<ul>
<li>IaaS Common Technical Requirements
<ul>
<li>“The Contractor shall provide the ability to provision virtual machines, storage and bandwidth dynamically, as requested and as required. ” (6)</li>
<li>“Contractor shall support secure provisioning, de-provisioning and administering [such as Secure Sockets Layer (SSL)/Transport Layer Security (TLS) or Secure Shell (SSH)]in its service offerings.” (6)</li>
<li>“The Contractor shall support the terms of service requirement of terminating the service at any time (on-demand). ” (6)</li>
<li>“The Contractor shall provide a robust, fault tolerant infrastructure that allows for high availability of 99.95%.”</li>
<li>“Within a month of a major outage occurrence resulting in greater than 1-hour of unscheduled downtime. The Contractor shall describe the outage including description of root-cause and fix. ” (6)</li>
<li>“Service provisioning and de-provisioning times (scale up and down) in near real-time” (6)</li>
<li>“The Contractor shall provide a secure, dual factor method of remote access which allows Government designated personnel the ability to perform duties on the hosted infrastructure.” (6)</li>
<li>“The Contractor shall manage data isolation in a multi-tenant environment.” (6)</li>
<li>“The Contractor shall manage data remanence throughout the data life cycle.” (6)</li>
<li>“The Contractor shall enable Order Management via Application Programming Interface (API).” (7)</li>
<li>”&#8230;80% threshold for the order. ” (8)</li>
<li>“The Contractor shall provide Trouble Ticketing via <span class="caps">API</span>.” (8)</li>
<li>“The Contractor shall maintain user profiles and present the user with his/her profile at the time of login.” (8)</li>
<li>“The Contractor shall identify Tier 1 Internet providers it is peered with, and where this peering occurs. The Contractor shall provide its Autonomous Number System” (8)</li>
<li>“IP Addressing: 1) The Contractor shall provide IP address assignment, and if capable, include Dynamic Host Configuration Protocol (DHCP). 2) The Contractor shall provide IP address and IP port assignment on external network interfaces. 3) The Contractor should provide dedicated virtual private network (VPN) connectivity between customer and the vendor. 4) The Contractor should map IP addresses to domains owned by the Government, allowing websites or other applications operating in the cloud to be viewed externally as Government URLs and services. 5) The Contractor shall provide an infrastructure that is IPv6 capable.” (9)</li>
<li>“Cloud Storage Services shall consist of the following <span class="caps">REQUIRED</span> Services, Service Options, Service Attributes and Service Units. ” and <span class="caps">API</span> request definitions (”&#8230;TPUT operations performed against Container/Bucket are used to create that container &#8230;”) (10)</li>
<li>“Service Units … Provides the requirements for the minimum purchasable units of the Service Attributes.  These Service Units may be purchased the minimum or in multiples of the minimum. The customer shall be billed for the actual service units used.” (10)</li>
</ul>
</li>
</ul>
<ul>
<li>“storage for files / objects supporting a single file/object sizes of up to 5GB” (11)</li>
<li>“storage tiers” (11)</li>
<li>“A minimum equivalent <span class="caps">CPU</span> processor speed of 1.1GHz shall be provided.  Additional options for <span class="caps">CPU</span> Processor Speed may be provided, however it is not required.  &#8230; The <span class="caps">CPU</span> shall support 32-bit and 64-bit operations” (13)</li>
<li>“Windows and <span class="caps">LINUX OS</span>’s at a minimum. Additional OS options may be provide or supported; however, this is not required.”(13)</li>
<li>“Physical memory (RAM) reserved for virtual machine instance or Computing supporting a minimum of 1GB of <span class="caps">RAM</span>.”(13)</li>
<li>“Disk Space allocated for virtual machine supporting a minimum of 40GB.”(13)</li>
<li>“Table 11: Virtual Machine Bundles” (13)</li>
<li>“Provide the capability to dynamically reallocate virtual machines based on load, with no service interruption.” (14)</li>
<li>“Perform Live migrations (ability to move running VM’s) from one host to another.” (13)</li>
<li>Table 13: Cloud Web Hosting Requirements (15)</li>
<li>Table 14: Cloud Web Hosting Bundling (18)</li>
<li>“The Government and the Contractor will work in good faith to establish an Interconnection Security Agreement (ISA) and/or a Memorandum of Understanding (MOU) as provided in the National Institute of Standards and Technology (NIST) Special Publication 800-47, Security Guide for Interconnecting Information Technology Systems, Appendix A – Security Requirements and Appendix B – Personnel Security. ” (18)</li>
<li>“6.3 Management Reporting Deliverables” (20)</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikeldridge.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikeldridge.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikeldridge.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikeldridge.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikeldridge.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikeldridge.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikeldridge.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikeldridge.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikeldridge.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikeldridge.wordpress.com/444/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikeldridge.wordpress.com&blog=5116848&post=444&subd=erikeldridge&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erikeldridge.wordpress.com/2009/08/11/notes-interesting-bits-from-us-federal-cloud-computing-initiative-rfq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f8779f49369322564937c1f164647d35?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erikeldridge</media:title>
		</media:content>
	</item>
	</channel>
</rss>