Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can someome explain "Pets" and "Cattle"? Not seen this useage before, think I get it but want to be sure. Pets are servers for love and fun, Cattle are servers exploited for loveless meat & milk?


"pets" - servers which require unique, individual care, love, naming and feeding and are irreplaceable in their function. You know it's a "pet" server when you think long and hard when you name it

"cattle" - servers which have no distinct personality traits, are fed, loved and cared for as a group or heard. You know it's a "cattle" server when the name isn't something you can easily remember

Neither pets nor cattle are "exploited", they all have their jobs to do, however they have an ROI and also a consequence of being unique or not. Cattle tend to be born, graze, die and it's part of the cycle. Pets die, and you are emotionally upset and do something stupid -- and you find yourself doing unholy things to resurrect them like using backup tapes or something


"Exploited" was my failed attempt at humour :)


This post has the slide that seared into my memory when I first heard the analogy in 2012-2013 or so:

https://www.engineyard.com/blog/pets-vs-cattle/

Direct link to slide screencap here:

https://www.engineyard.com/wp-content/uploads/2022/02/vCloud...





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: