TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pets vs. Cattle

74 pointsby nslaterabout 11 years ago

10 comments

danielsidersabout 11 years ago
edit: apparently it&#x27;s Bill Baker of Microsoft who originated it: <a href="https://www.pistoncloud.com/2013/04/announcing-enterprise-openstack-version-2/" rel="nofollow">https:&#x2F;&#x2F;www.pistoncloud.com&#x2F;2013&#x2F;04&#x2F;announcing-enterprise-op...</a><p>Afaik the analogy was first used by Joshua McKenty of Piston Cloud<p>&#x27;&quot;The servers in today&#x27;s data center are like puppies -- they&#x27;ve got names and when they get sick, everything grinds to a halt while you nurse them back to health,&quot; Joshua McKenty, co-founder of Piston Cloud, is quoted as saying in a recent company press release. &quot;Piston Enterprise OpenStack is a system for managing your servers like cattle -- you number them, and when they get sick and you have to shoot them in the head, the herd can keep moving. It takes a family of three to care for a single puppy, but a few cowboys can drive tens of thousands of cows over great distances, all while drinking whiskey.&quot;&#x27;[1]<p>[1] <a href="https://www.networkworld.com/news/2013/041113-servers-cows-puppies-268650.html" rel="nofollow">https:&#x2F;&#x2F;www.networkworld.com&#x2F;news&#x2F;2013&#x2F;041113-servers-cows-p...</a>
评论 #7314138 未加载
评论 #7313687 未加载
drakaalabout 11 years ago
I don&#x27;t have a citation, but I used this analogy in 1999 for terminal server as a replacement for desktops.<p>Y2K was pushing people to dump whole networks. Rather than upgrade people were just buying all new, but losing data on the machines was a huge scary thing. And migration tools sucked at the time.<p><a href="http://www.cdstoledo.com/" rel="nofollow">http:&#x2F;&#x2F;www.cdstoledo.com&#x2F;</a> where I was working at the time, under my direction started to role out commodity computers. Computers that used Hardware Compatibility list components, and were supplemented with Terminal services to allow important data to always be backed up &quot;in the cloud&quot;.<p>When a computer &quot;died&quot; or had an issue, we could just swap the hardware. No local files were needed as everything was on the server as either part of the Terminal Services, or a Roaming Profile. We could then fix the computer at the shop quickly.<p>It had highs and lows. At the time it meant better service at a lower price. But that meant less money for the company. We could offset this to some degree, but the reliability was so high that in many cases we ended up with support contracts that wouldn&#x27;t get renewed because the hardware never needed support.<p>I can&#x27;t claim that I invented the analogy. I think someone at Microsoft told it to me when they pitched terminal services to me. Or maybe I pitched it to them, being a farm boy as I was.<p>In any event it is an analogy that is 15 years old at minimum.
评论 #7312822 未加载
bguthrieabout 11 years ago
Another term for this is &quot;snowflake server&quot;––every one&#x27;s a little bit different. Good for skiing, bad for a data center. <a href="http://martinfowler.com/bliki/SnowflakeServer.html" rel="nofollow">http:&#x2F;&#x2F;martinfowler.com&#x2F;bliki&#x2F;SnowflakeServer.html</a>
评论 #7312585 未加载
评论 #7312477 未加载
shykesabout 11 years ago
This reminds me of the &quot;10th floor test&quot; in <i>Bootstrapping an infrastructure</i>, a Lisa&#x27;98 paper which was pretty influential for me and a whole wave of sysadmins getting excited about this transition from individual machines to shapeless &quot;infrastructure&quot; where the individual machines mattered less.<p>It doesn&#x27;t mention pets or cattle, but makes a similar point:<p><i>The test we used when designing infrastructures was &quot;Can I grab a random machine and throw it out the tenth-floor window without adversely impacting users for more than 10 minutes?&quot; If the answer to this was &quot;yes&quot;, then we knew we were doing things right.</i><p><a href="http://www.infrastructures.org/papers/bootstrap/bootstrap.html" rel="nofollow">http:&#x2F;&#x2F;www.infrastructures.org&#x2F;papers&#x2F;bootstrap&#x2F;bootstrap.ht...</a>
评论 #7316657 未加载
camillomillerabout 11 years ago
The disposable nature of factory farmed cattles is so common and accepted knowledge, that it&#x27;s ok to make crappy analogies out of it. That&#x27;s particularly sad because it&#x27;s the idea of an extremely smart mind.
评论 #7314114 未加载
评论 #7312392 未加载
评论 #7314572 未加载
评论 #7312069 未加载
csbrooksabout 11 years ago
I liked this analogy, and found it informative.*<p>*Not a farmer, not a vegetarian, just a programmer.
beatabout 11 years ago
I like this analogy... puts words around a concern of mine. I&#x27;m building a startup around dealing with server configuration problems, but the problems tend to be more &quot;pet&quot; problems than &quot;cattle&quot; problems. In fact, my primary competition is switching from pets to cattle.<p>So I&#x27;m thinking hard about how to best apply my idea to cattle as well as pets, to reach a larger market and take advantage of industry trends.
dmouratiabout 11 years ago
Anyone have any tips on how to make the transition from pets to cattle? I ask because we are a cloud deployed company (EC2) still largely doing things in an old-school &quot;pets&quot; based approach. I&#x27;m fully onboard for why the cattle approach is better. Getting there, on the other hand, is non-trivial.
评论 #7316659 未加载
beachstartupabout 11 years ago
<a href="https://news.ycombinator.com/item?id=7313882" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7313882</a><p>this was on the front page for a brief moment, but apparently engine yard&#x27;s attitude that servers are cattle had fairly disastrous consequences for Groove.
Patrick_Devineabout 11 years ago
We named our (soon to be announced) start-up after this principle. The company is called &quot;Netkine&quot;, as in a kine of cattle on the net.<p>That, and we thought it sounded kind of cool.