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

<channel>
	<title>Kitchen Soap &#187; Flickr</title>
	<atom:link href="http://www.kitchensoap.com/category/flickr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kitchensoap.com</link>
	<description>Thoughts on capacity planning and web operations.</description>
	<lastBuildDate>Fri, 25 Jun 2010 04:05:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Slides from Web2.0 Expo 2009. (and somethin else interestin&#8217;)</title>
		<link>http://www.kitchensoap.com/2009/04/03/slides-from-web20-expo-2009-and-somethin-else-interestin/</link>
		<comments>http://www.kitchensoap.com/2009/04/03/slides-from-web20-expo-2009-and-somethin-else-interestin/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 21:21:40 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Slides]]></category>
		<category><![CDATA[Talks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[WebOps]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/?p=115</guid>
		<description><![CDATA[That was a pretty good time. Saw lots of good and wicked smaht people, and I got a lot of great questions after my talk. The slides are up on slideshare, and here are the PDF slides. 
Operational Efficiency Hacks Web20 Expo2009
View more presentations from John Allspaw.

UPDATE: Gil Raphaelli has posted his python bindings he [...]]]></description>
			<content:encoded><![CDATA[<p>That was a pretty good time. Saw lots of good and wicked smaht people, and I got a lot of great questions after my talk. The slides are up on <a href="http://www.slideshare.net/jallspaw/operational-efficiency-hacks-web20-expo2009" target="_blank">slideshare</a>, and here are the <a title="Operational Efficiency Hacks Web 2.0 Expo 2009" href="http://kitchensoap.com/talks/OpsHacksWeb20Expo2009-Notes.pdf" target="_blank">PDF slides</a>. <strong><em></em></strong></p>
<div style="width:425px;text-align:left" id="__ss_1245887"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/jallspaw/operational-efficiency-hacks-web20-expo2009?type=presentation" title="Operational Efficiency Hacks Web20 Expo2009">Operational Efficiency Hacks Web20 Expo2009</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opshacksweb20expo2009-090403152449-phpapp02&#038;stripped_title=operational-efficiency-hacks-web20-expo2009" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opshacksweb20expo2009-090403152449-phpapp02&#038;stripped_title=operational-efficiency-hacks-web20-expo2009" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jallspaw">John Allspaw</a>.</div>
</div>
<p><strong><em>UPDATE:</em></strong> Gil Raphaelli has <a href="http://g.raphaelli.com/2009/4/2/libyahoo2-python-bindings" target="_blank">posted</a> his python bindings he wrote for our libyahoo2 use in our Ops IM Bot.</p>
<p>There <em>was</em> something that I left out of my slides, mostly because I didn&#8217;t want to distract from the main topic, which was optimization and efficiencies.</p>
<p>While I used our image processing capacity at Flickr as an example of how compilers and hardware can have some significant influence on how fast or efficient you can run, I had wondered what the Magical Cloud™ would do with these differences.</p>
<p>So I took the tests I ran on our own machines and ran them on Small, Medium, Large, Extra Large, and Extra Large(High) instances of EC2, to see. The results were a bit surprising to me, but I&#8217;m sure not surprising to anyone who uses EC2 with any significant amount of CPU demand.</p>
<p>For the testing, I have a script that does some super simple image resizing with GraphicsMagick. It splits a DSLR photo into 6 different sizes, much in the same way that we do at Flickr for the real world. It does that resizing on about 7 different files, and I timed them all. This is with the most recent version of GraphicsMagick, 1.3.5, with the awesome OpenMP bits in it.</p>
<p>Here is the slide of the tests run on different (increasingly faster) dedicated machines:</p>
<p style="text-align: center;"><img class="size-medium wp-image-117 aligncenter" title="Faster Image Processing Hardware" src="http://www.kitchensoap.com/wp-content/uploads/2009/04/gm-hardware2-300x213.png" alt="Faster Image Processing Hardware" width="300" height="213" /></p>
<p>and here is the slide that I <em>didn&#8217;t</em> include, of the EC2 timings of the same test:</p>
<p style="text-align: center;"><img class="size-medium wp-image-118 aligncenter" title="Image Processing on EC2" src="http://www.kitchensoap.com/wp-content/uploads/2009/04/gm-ec2-300x213.png" alt="Image Processing on EC2" width="300" height="213" /></p>
<p>Now I&#8217;m not suggesting that the two graphs <strong><em>should</em></strong> look similar, or that EC2 <em>should</em> be faster. I&#8217;m well aware of the shift in perspective when deploying capacity within the cloud versus within your own data center. So I&#8217;m not surprised that the fastest test results are on the order of 2x slower on EC2. Application logic, feature designs (synchronous versus asynchronous image processing, for example) can take care of these differences and could be a welcome trade-off in having to run your own machines.</p>
<p>What I am surprised about is the variation (or lack thereof) of all but the small instances. After I took a closer look at vmstat and top, I realized that the small instances consistently saw about 50-60% <a href="http://help.rightscale.com/cgi-bin/rightscale.cfg/php/enduser/std_adp.php?p_faqid=28" target="_blank">CPU stolen</a> from it, the mediums almost always saw zero stolen, and the Large and ExtraLarges saw up to 35% CPU stolen from it during the jobs.</p>
<p>So, interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2009/04/03/slides-from-web20-expo-2009-and-somethin-else-interestin/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Web Ops Visualizations Group on Flickr</title>
		<link>http://www.kitchensoap.com/2008/12/16/web-ops-visualizations-group-on-flickr/</link>
		<comments>http://www.kitchensoap.com/2008/12/16/web-ops-visualizations-group-on-flickr/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 18:19:10 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Ops]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/?p=79</guid>
		<description><![CDATA[Like lots of operations people, we&#8217;re quite addicted to data pr0n here at Flickr. We&#8217;ve got graphs for pretty much everything, and add graphs all of the time. We&#8217;ve blogged about some of how and why we do it.
One thing we&#8217;re in the habit of is screenshotting these graphs when things go wrong, right, or [...]]]></description>
			<content:encoded><![CDATA[<p>Like lots of operations people, we&#8217;re quite addicted to data pr0n here at Flickr. We&#8217;ve got graphs for pretty much everything, and add graphs all of the time. We&#8217;ve <a href="http://code.flickr.com/blog/2008/10/27/counting-timing/" target="_blank">blogged</a> <a href="http://code.flickr.com/blog/2008/10/13/flickr-digs-ganglia/" target="_blank">about</a> some of how and why we do it.</p>
<p>One thing we&#8217;re in the habit of is screenshotting these graphs when things go wrong, right, or indifferent, and adding them to a group on Flickr. I&#8217;ve decided to make a public group for these sort of screenshots, for anyone to contribute to:</p>
<p style="text-align: center;"><a href="http://flickr.com/groups/webopsviz/" target="_blank">http://flickr.com/groups/webopsviz/</a></p>
<p>You should realize before posting anything here, that you might want to think about if you want everyone in the world to see what you&#8217;ve got. I&#8217;ve made a quick FAQ on the groups page, but I&#8217;ll repeat it here:</p>
<blockquote><p><strong>Q: What is this?</strong><br />
A: This group is for sharing visualizations of web operations metrics. For the most part, this means graphs of systems and application metrics, from software like ganglia, cacti, hyperic, etc.</p>
<p><strong>Q:Who gets to see this?</strong><br />
A: This is a semi-public group, so don&#8217;t post anything you don&#8217;t want others to see.<br />
For now, it&#8217;ll be for members-only to post and view.  Ideally, I think it&#8217;d be great to share some of these things publicly.</p>
<p><strong>Q: What&#8217;s interesting to post here?</strong><br />
A: Spikes, dips, patterns. Things with colors. Shiny things. Donuts. Ponies.</p>
<p><strong>Q: My company will fire me if I show our metrics!</strong><br />
A: Don&#8217;t be dense, and post your pageview, revenue, or other super-secret stuff that you think would be sensitive. Your mileage may vary.</p></blockquote>
<p>So: you&#8217;ve got something to brag about? How many requests per second can your awesome new solid-state-disk database do? You got spikes? Post them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2008/12/16/web-ops-visualizations-group-on-flickr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides from Velocity</title>
		<link>http://www.kitchensoap.com/2008/06/25/slides-from-velocity/</link>
		<comments>http://www.kitchensoap.com/2008/06/25/slides-from-velocity/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 13:41:23 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Slides]]></category>
		<category><![CDATA[Talks]]></category>
		<category><![CDATA[WebOps]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/?p=48</guid>
		<description><![CDATA[Here are the slides from my talk at the Velocity Conference.
]]></description>
			<content:encoded><![CDATA[<p><a title="Capacity Management for Web Operations" href="http://www.slideshare.net/jallspaw/velocity2008-capacity-management1-484676" target="_blank">Here</a> are the slides from my talk at the Velocity Conference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2008/06/25/slides-from-velocity/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Squid patch for making &#8220;time&#8221; stats more meaningful.</title>
		<link>http://www.kitchensoap.com/2008/05/22/squid-patch-for-making-time-stats-more-meaningful/</link>
		<comments>http://www.kitchensoap.com/2008/05/22/squid-patch-for-making-time-stats-more-meaningful/#comments</comments>
		<pubDate>Thu, 22 May 2008 18:40:44 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Caching]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[WebOps]]></category>
		<category><![CDATA[webops squid]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/?p=43</guid>
		<description><![CDATA[Thanks to Mark, squid&#8217;s got a patch I&#8217;ve been wanting for a gazillion years: time-to-serve statistics that don&#8217;t include the client&#8217;s location
http://www.squid-cache.org/bugs/show_bug.cgi?id=2345
Normally, squid&#8217;s kept statistics that included the &#8220;time&#8221; to serve an object, whether it be a HIT, MISS, NEAR HIT, etc. The clock starts for this time when the first headers are received by [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://mnot.net/blog" target="_blank">Mark</a>, squid&#8217;s got a patch I&#8217;ve been wanting for a gazillion years: time-to-serve statistics that don&#8217;t include the client&#8217;s location</p>
<blockquote><p><a href="http://www.squid-cache.org/bugs/show_bug.cgi?id=2345" target="_blank">http://www.squid-cache.org/bugs/show_bug.cgi?id=2345</a></p></blockquote>
<p>Normally, squid&#8217;s kept statistics that included the &#8220;time&#8221; to serve an object, whether it be a HIT, MISS, NEAR HIT, etc. The clock starts for this time when the first headers are received by the client that are validated as a legit squid request, but then doesn&#8217;t stop until the client has every last bit of the response.</p>
<p>What this means is that if you have servers in the US and your traffic pattern follows the NY/SF pattern (peaks from around 9am-4pm) and your overseas traffic (i.e. clients really far from your boxes) has a pattern the inverse of that, then you might see &#8216;time-to-serve&#8217; in squid to be <em>worse</em> during your lowest traffic. Which is confusing, to say the least. <img src='http://www.kitchensoap.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This patch changes the stopwatch to start at the same time (when squid&#8217;s received headers from the client) but <em>stop </em>when squid&#8217;s preparing the headers for the response. This measures ONLY the time that squid had the object in its hands, for a hit or a miss, which IMHO is a much better measure of how squid is actually performing with the hardware&#8217;s resources.</p>
<p>Yay! Thanks Mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2008/05/22/squid-patch-for-making-time-stats-more-meaningful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr&#8217;s hiring a dba.</title>
		<link>http://www.kitchensoap.com/2008/01/30/flickrs-hiring-a-dba/</link>
		<comments>http://www.kitchensoap.com/2008/01/30/flickrs-hiring-a-dba/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 05:03:37 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[WebOps]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/2008/01/30/flickrs-hiring-a-dba/</guid>
		<description><![CDATA[(Only hardworking supernerds should apply)
We&#8217;re looking for an experienced and motivated MySQL DBA to help make things go at Flickr.
Stuff you&#8217;ll do:
• Work with engineers on performance tuning, query optimization, index tuning.
• Monitor databases for problems and to diagnose where those problems are.
• Work with developers and operations to maintain a scalable, reliable, and robust [...]]]></description>
			<content:encoded><![CDATA[<p>(Only hardworking <strong>supernerds</strong> should apply)</p>
<p>We&#8217;re looking for an experienced and motivated MySQL DBA to help make things go at Flickr.</p>
<p>Stuff you&#8217;ll do:<br />
• Work with engineers on performance tuning, query optimization, index tuning.<br />
• Monitor databases for problems and to diagnose where those problems are.<br />
• Work with developers and operations to maintain a scalable, reliable, and robust database environment.<br />
• Build database tools and scripts to automate where possible.<br />
• Support MySQL databases for production and development.<br />
• Provide 24&#215;7 escalated on-call support on a pager rotation.</p>
<p>Smarts and experience you&#8217;ll need:<br />
• 3-4+ years MySQL experience.<br />
• 2+ years of experience as a MySQL DBA in a high traffic, transactional environment.<br />
• 2+ years working in a LAMP environment, particularly PHP/MySQL<br />
• Proficient with database performance strategies.<br />
• Proficient tuning MySQL processes and queries.<br />
• Experience in administration of InnoDB<br />
• Experience with MySQL Replication, with both Master-Slave and Master-Master replication.<br />
• Ability to work cooperatively with software engineers and system administrators.<br />
• Excellent communication skills<br />
• Exceptional problem-solving expertise and attention to detail.<br />
• BS in Computer Science or equivalent.</p>
<p>Super Nerdy Bonus Points For:<br />
• Experience with Data Sharding and federated architectures.<br />
• Experience with multi-datacenter MySQL replication.<br />
• Experience working in a social media environment.</p>
<p>Ok ? Now, <a href="mailto:iwantajob@kitchensoap.com?subject=MySQL%20DBA%20gig%20at%20Flickr">send me your resume</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2008/01/30/flickrs-hiring-a-dba/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making a site faster by removing machines</title>
		<link>http://www.kitchensoap.com/2007/08/20/making-a-site-faster-by-removing-machines/</link>
		<comments>http://www.kitchensoap.com/2007/08/20/making-a-site-faster-by-removing-machines/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 16:21:38 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Capacity Planning]]></category>
		<category><![CDATA[Flickr]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/2007/08/20/making-a-site-faster-by-removing-machines/</guid>
		<description><![CDATA[(well, not really)
A little while ago, in one of our clusters we replaced a boatload of PowerEdge 1425 webserver-class boxes with a much smaller number of HP DL145 G3 quad-core boxes, getting the same amount of oomph from 1/3 the boxes.  Not too bad.

]]></description>
			<content:encoded><![CDATA[<p><em>(well, not really)</em></p>
<p>A little while ago, in one of our clusters we replaced a boatload of PowerEdge 1425 webserver-class boxes with a much smaller number of HP DL145 G3 quad-core boxes, getting the same amount of oomph from 1/3 the boxes.  Not too bad.</p>
<p><img src="http://www.kitchensoap.com/wp-content/uploads/2007/08/quads.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2007/08/20/making-a-site-faster-by-removing-machines/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Varnish and the state of web caching</title>
		<link>http://www.kitchensoap.com/2006/12/16/varnish-and-the-state-of-web-caching/</link>
		<comments>http://www.kitchensoap.com/2006/12/16/varnish-and-the-state-of-web-caching/#comments</comments>
		<pubDate>Sat, 16 Dec 2006 17:21:31 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Caching]]></category>
		<category><![CDATA[Flickr]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/2006/12/16/varnish-and-the-state-of-web-caching/</guid>
		<description><![CDATA[So there&#8217;s lots of excitement around Varnish, which is a caching proxy that is built to be first and foremost a reverse-proxy, as opposed to squid, which does both forward and reverse. Acceleration (reverse-proxying) is obviously important to us at Flickr, as we use squid extensively.

I&#8217;m hoping to do some testing with Varnish once it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s lots of excitement around <a title="varnish" target="_blank" href="http://www.varnish-cache.org/">Varnish</a>, which is a caching proxy that is built to be first and foremost a reverse-proxy, as opposed to <a title="squid" target="_blank" href="http://squid-cache.org">squid</a>, which does both forward and reverse. Acceleration (reverse-proxying) is obviously important to us at <a target="_blank" href="http://flickr.com">Flickr</a>, as we use squid extensively.</p>
<p><span id="more-9"></span></p>
<p>I&#8217;m hoping to do some testing with Varnish once it&#8217;s stable and has the ability to manage a constantly full cache.  After emailing with <a target="_blank" href="http://people.freebsd.org/~phk/">Poul Henning-Kamp</a> (one of the main developers) he says that object replacement/eviction is indeed on the roadmap, so we shall see.</p>
<p>From what I can tell, Varnish sounds a <em>little </em>like the COSS filesystem that squid can use, in that it uses one big file to store objects in.  In varnish, this is mmap&#8217;d into the process and the kernel does all of the disk work. Since replacement/eviction isn&#8217;t done yet, not sure if the mechanism is &#8220;cyclical&#8221; like COSS, but however it will work, it&#8217;ll probably see some big performance increases when compared to the standard &#8216;nested directories&#8217; way that <em>aufs </em>does things in squid currently.</p>
<p>Woohoo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2006/12/16/varnish-and-the-state-of-web-caching/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hats and beards</title>
		<link>http://www.kitchensoap.com/2006/12/12/hats-and-beards/</link>
		<comments>http://www.kitchensoap.com/2006/12/12/hats-and-beards/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 23:34:03 +0000</pubDate>
		<dc:creator>allspaw</dc:creator>
				<category><![CDATA[Flickr]]></category>

		<guid isPermaLink="false">http://www.kitchensoap.com/2006/12/12/hats-and-beards/</guid>
		<description><![CDATA[http://flickr.com/photos/allspaw/311471361/
]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/allspaw/311471361/">http://flickr.com/photos/allspaw/311471361/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kitchensoap.com/2006/12/12/hats-and-beards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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